Skip to content

Commit eb9b645

Browse files
committed
wip: fix conf
1 parent 2b45d2b commit eb9b645

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

eslint.config.mjs

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,10 @@ import tseslint from 'typescript-eslint';
2626

2727
export default [
2828
{
29-
...eslintPluginImport.configs.recommended, // import/recommended is not working for now with ESLint v9
30-
...unicornPlugin.configs.recommended,
29+
// ...eslintPluginImport.configs.recommended, // is not working for now with ESLint v9
30+
// ...unicornPlugin.configs.recommended, // is not working for now with ESLint v9
3131
...eslintPluginPrettierRecommended, // Enables eslint-plugin-prettier, eslint-config-prettier and prettier/prettier. This will display prettier errors as ESLint errors. Make sure this is always the last configuration.
3232

33-
root: true,
3433
plugins: {
3534
notice: noticePlugin,
3635
unicorn: unicornPlugin,
@@ -91,11 +90,11 @@ export default [
9190

9291
// typescript
9392
{ ...eslint.configs.recommended, files: ['**/*.ts', '**/*.tsx'] },
94-
tseslint.configs.recommended.map(conf => ({ ...conf, files: ['**/*.ts', '**/*.tsx'] })),
93+
...tseslint.configs.recommended.map(conf => ({ ...conf, files: ['**/*.ts', '**/*.tsx'] })),
9594
/** @type {import('@typescript-eslint/utils').TSESLint.FlatConfig.ConfigFile} */
9695
{
9796
...tseslint.configs.stylistic,
98-
...eslintPluginImport.configs.typescript, // import/typescript is not working for now with ESLint v9
97+
// ...eslintPluginImport.configs.typescript, // is not working for now with ESLint v9
9998
...eslintPluginPrettierRecommended, // Enables eslint-plugin-prettier, eslint-config-prettier and prettier/prettier. This will display prettier errors as ESLint errors. Make sure this is always the last configuration.
10099

101100
files: ['*.ts'],

0 commit comments

Comments
 (0)