Skip to content

Commit c392bbd

Browse files
committed
feat: test against eslint v9
1 parent c77eedb commit c392bbd

11 files changed

+5012
-7963
lines changed

.npmignore

+1
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,4 @@ test
33
.*
44
coverage
55
.nyc_output
6+
eslint.config.js

eslint.config.js

+10-7
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,19 @@ import eslintPlugin from "eslint-plugin-eslint-plugin";
44

55
export default [
66
...freaktechnikConfigNode,
7-
eslintPlugin.configs["flat/recommended"],
87
...freaktechnikConfigTest,
98
{
10-
files: ["**"],
9+
files: [ "**" ],
1110
rules: {
12-
"unicorn/prefer-module": "off"
13-
}
11+
"unicorn/prefer-module": "off",
12+
},
1413
},
1514
{
16-
files: ["test/rules/*.mjs"],
17-
...eslintPlugin.configs["flat/tests-recommended"]
18-
}
15+
files: ["rules/*.js"],
16+
...eslintPlugin.configs["flat/recommended"],
17+
},
18+
{
19+
files: [ "test/rules/*.mjs" ],
20+
...eslintPlugin.configs["flat/tests-recommended"],
21+
},
1922
];

0 commit comments

Comments
 (0)