We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ca69025 commit a9c01b9Copy full SHA for a9c01b9
2 files changed
eslint.config.js
@@ -1,3 +1,11 @@
1
import {safeAlign} from 'eslint-plugin-putout';
2
+import {defineConfig} from 'eslint/config';
3
+import {matchToFlat} from '@putout/eslint-flat';
4
-export default safeAlign;
5
+export const match = {
6
+ '**/test.js': {
7
+ 'no-undef': 'off',
8
+ },
9
+};
10
+
11
+export default defineConfig([safeAlign, matchToFlat(match)]);
package.json
@@ -22,6 +22,7 @@
22
},
23
"dependencies": {},
24
"devDependencies": {
25
+ "@putout/eslint-flat": "^4.0.0",
26
"c8": "^10.1.3",
27
"eslint": "^10.0.0",
28
"eslint-plugin-node": "^11.0.0",
0 commit comments