From 3bd744ccf09d357bbe05d34447fc3320d82c9b4a Mon Sep 17 00:00:00 2001 From: Thomas CASTELLY Date: Thu, 10 Oct 2024 16:32:01 +0200 Subject: [PATCH] lint config --- eslint.config.mjs | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/eslint.config.mjs b/eslint.config.mjs index d696480..84606fc 100644 --- a/eslint.config.mjs +++ b/eslint.config.mjs @@ -17,6 +17,11 @@ const compat = new FlatCompat({ export default [ ...compat.config({ extends: ['airbnb-base'], + rules: { + // fix airbnb conflicts + 'import/extensions': 'off', + 'import/no-unresolved': 'off', + }, }), { files: ['**/*.+(ts|tsx|mts|cts|js|mjs|cjs|jsx)'], @@ -44,10 +49,6 @@ export default [ '@typescript-eslint/no-empty-function': 0, '@typescript-eslint/ban-ts-comment': 0, - // fix airbnb conflicts - 'import/extensions': 'off', - 'import/no-unresolved': 'off', - 'no-useless-constructor': 'off', '@typescript-eslint/no-useless-constructor': 'error', // fix try/catch unused (e)