From 026a4a3af0acab86159363c1b392bef2b4a5693d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Souchet=20C=C3=A9line?= Date: Tue, 9 Apr 2024 17:29:26 +0200 Subject: [PATCH] wip: fix conf --- eslint.config.mjs | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/eslint.config.mjs b/eslint.config.mjs index a90f4b5534..55c3be1435 100644 --- a/eslint.config.mjs +++ b/eslint.config.mjs @@ -26,11 +26,10 @@ import tseslint from 'typescript-eslint'; export default [ { - ...eslintPluginImport.configs.recommended, // import/recommended is not working for now with ESLint v9 - ...unicornPlugin.configs.recommended, + // ...eslintPluginImport.configs.recommended, // is not working for now with ESLint v9 + // ...unicornPlugin.configs.recommended, // is not working for now with ESLint v9 ...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. - root: true, plugins: { notice: noticePlugin, unicorn: unicornPlugin, @@ -91,11 +90,11 @@ export default [ // typescript { ...eslint.configs.recommended, files: ['**/*.ts', '**/*.tsx'] }, - tseslint.configs.recommended.map(conf => ({ ...conf, files: ['**/*.ts', '**/*.tsx'] })), + ...tseslint.configs.recommended.map(conf => ({ ...conf, files: ['**/*.ts', '**/*.tsx'] })), /** @type {import('@typescript-eslint/utils').TSESLint.FlatConfig.ConfigFile} */ { ...tseslint.configs.stylistic, - ...eslintPluginImport.configs.typescript, // import/typescript is not working for now with ESLint v9 + // ...eslintPluginImport.configs.typescript, // is not working for now with ESLint v9 ...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. files: ['*.ts'],