Skip to content

Commit b431e6c

Browse files
author
Christian Glahn
committed
fix ncc and eslint
1 parent ea926bf commit b431e6c

File tree

3 files changed

+9
-10
lines changed

3 files changed

+9
-10
lines changed

eslint.config.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
// new flat file configuration for eslint
22
// https://eslint.org/docs/latest/use/configure/configuration-files-new
33

4-
import js from "@eslint/js";
5-
import globals from "globals";
4+
const js = require("@eslint/js");
5+
const globals = require("globals");
66

7-
export default [
7+
module.exports = [
88
js.configs.recommended,
99
{
1010
languageOptions: {

package-lock.json

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
"keywords": [],
1616
"author": "",
1717
"license": "ISC",
18-
"type": "module",
1918
"bugs": {
2019
"url": "https://github.com/phish108/autotag-action/issues"
2120
},
@@ -27,10 +26,10 @@
2726
},
2827
"devDependencies": {
2928
"@eslint/js": "8.40.0",
30-
"globals": "13.20.0",
31-
"@vercel/ncc": "0.34.0",
29+
"@vercel/ncc": "0.36.1",
3230
"chai": "4.3.6",
3331
"eslint": "8.40.0",
32+
"globals": "13.20.0",
3433
"mocha": "10.0.0"
3534
}
3635
}

0 commit comments

Comments
 (0)