Skip to content

Commit f958b4b

Browse files
committed
fix: move ignores to separate config object in eslint
1 parent cf5b576 commit f958b4b

File tree

1 file changed

+11
-8
lines changed

1 file changed

+11
-8
lines changed

eslint.config.js

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,17 @@ import typescriptEslintPlugin from '@typescript-eslint/eslint-plugin';
88
export default [
99
jsConfigs.configs.recommended,
1010

11+
{
12+
ignores: [
13+
'node_modules/',
14+
'build/',
15+
'.svelte-kit/',
16+
'.svelte-kit/output/',
17+
'.env',
18+
'package-lock.json'
19+
]
20+
},
21+
1122
{
1223
languageOptions: {
1324
parser: typescriptParser,
@@ -23,14 +34,6 @@ export default [
2334
console: 'readonly'
2435
}
2536
},
26-
ignores: [
27-
'node_modules/',
28-
'build/',
29-
'.svelte-kit/',
30-
'.svelte-kit/output/',
31-
'.env',
32-
'package-lock.json'
33-
],
3437
rules: {
3538
'@typescript-eslint/require-await': 'off',
3639
'prettier/prettier': 'error',

0 commit comments

Comments
 (0)