fix ESLint errors when opening a configuration file in the IDE
This commit is contained in:
parent
01f90265ec
commit
2b4b5fd32c
11 changed files with 31 additions and 18 deletions
|
|
@ -70,6 +70,7 @@ export default [
|
||||||
"**/coverage/",
|
"**/coverage/",
|
||||||
"**/node_modules/",
|
"**/node_modules/",
|
||||||
"**/migration/",
|
"**/migration/",
|
||||||
|
"*.*",
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
|
|
|
||||||
|
|
@ -18,4 +18,10 @@ export default [
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
ignores: [
|
||||||
|
'built/**/*',
|
||||||
|
'*.*',
|
||||||
|
],
|
||||||
|
},
|
||||||
];
|
];
|
||||||
|
|
|
||||||
|
|
@ -40,4 +40,10 @@ export default [
|
||||||
}],
|
}],
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
ignores: [
|
||||||
|
'built/**/*',
|
||||||
|
'*.*',
|
||||||
|
],
|
||||||
|
},
|
||||||
];
|
];
|
||||||
|
|
|
||||||
|
|
@ -19,4 +19,10 @@ export default [
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
ignores: [
|
||||||
|
'built/**/*',
|
||||||
|
'*.*',
|
||||||
|
],
|
||||||
|
},
|
||||||
];
|
];
|
||||||
|
|
|
||||||
|
|
@ -105,6 +105,7 @@ export default [
|
||||||
"**/built/",
|
"**/built/",
|
||||||
"**/coverage/",
|
"**/coverage/",
|
||||||
"**/node_modules/",
|
"**/node_modules/",
|
||||||
|
"*.*",
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
|
|
|
||||||
|
|
@ -109,6 +109,7 @@ export default [
|
||||||
"**/built/",
|
"**/built/",
|
||||||
"**/coverage/",
|
"**/coverage/",
|
||||||
"**/node_modules/",
|
"**/node_modules/",
|
||||||
|
"*.*",
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
|
|
|
||||||
|
|
@ -178,7 +178,8 @@ export default [
|
||||||
"**/coverage/",
|
"**/coverage/",
|
||||||
"**/node_modules/",
|
"**/node_modules/",
|
||||||
"**/libopenmpt/",
|
"**/libopenmpt/",
|
||||||
"**/storybook-static/"
|
"**/storybook-static/",
|
||||||
|
"*.*",
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
|
|
|
||||||
|
|
@ -32,6 +32,7 @@ export default [
|
||||||
"**/built/",
|
"**/built/",
|
||||||
"**/coverage/",
|
"**/coverage/",
|
||||||
"**/node_modules/",
|
"**/node_modules/",
|
||||||
|
"*.*",
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
|
|
|
||||||
|
|
@ -20,4 +20,10 @@ export default [
|
||||||
'@stylistic/indent': 'off',
|
'@stylistic/indent': 'off',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
ignores: [
|
||||||
|
'built/**/*',
|
||||||
|
'*.*',
|
||||||
|
],
|
||||||
|
},
|
||||||
];
|
];
|
||||||
|
|
|
||||||
|
|
@ -8,6 +8,7 @@ export default [
|
||||||
ignores: [
|
ignores: [
|
||||||
'**/node_modules',
|
'**/node_modules',
|
||||||
'built',
|
'built',
|
||||||
|
'*.*',
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -1,17 +0,0 @@
|
||||||
import tsParser from '@typescript-eslint/parser';
|
|
||||||
import sharedConfig from '../../packages/shared/eslint.config.js';
|
|
||||||
|
|
||||||
export default [
|
|
||||||
...sharedConfig,
|
|
||||||
{
|
|
||||||
files: ['src/**/*.ts', 'src/**/*.tsx'],
|
|
||||||
languageOptions: {
|
|
||||||
parserOptions: {
|
|
||||||
parser: tsParser,
|
|
||||||
project: ['./tsconfig.json'],
|
|
||||||
sourceType: 'module',
|
|
||||||
tsconfigRootDir: import.meta.dirname,
|
|
||||||
},
|
|
||||||
},
|
|
||||||
},
|
|
||||||
];
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue