From c46a0e0dbcc5b6a8a914279877d61977ad8cdc96 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Mon, 18 Nov 2024 13:48:13 +0100 Subject: [PATCH] chore: refine eslint configuration MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérôme Benoit --- eslint.config.js | 42 +++++++++++++++++++++--------------------- 1 file changed, 21 insertions(+), 21 deletions(-) diff --git a/eslint.config.js b/eslint.config.js index 0cde6984..3ee0cc34 100644 --- a/eslint.config.js +++ b/eslint.config.js @@ -11,6 +11,27 @@ export default defineFlatConfig([ ignores: ['docs/**', '**/dist/**', 'lib/**', 'outputs/**'], }, cspellConfigs.recommended, + { + rules: { + '@cspell/spellchecker': [ + 'warn', + { + autoFix: true, + cspell: { + words: [ + 'Alessandro', + 'Ardizio', + 'Benoit', + 'IWRR', + 'Quadflieg', + 'neostandard', + 'poolifier', + ], + }, + }, + ], + }, + }, js.configs.recommended, plugins.promise.configs['flat/recommended'], ...plugins.n.configs['flat/mixed-esm-and-cjs'], @@ -44,27 +65,6 @@ export default defineFlatConfig([ ...plugins['typescript-eslint'].configs.disableTypeChecked, } ), - { - rules: { - '@cspell/spellchecker': [ - 'warn', - { - autoFix: true, - cspell: { - words: [ - 'Alessandro', - 'Ardizio', - 'Benoit', - 'IWRR', - 'Quadflieg', - 'neostandard', - 'poolifier', - ], - }, - }, - ], - }, - }, perfectionist.configs['recommended-natural'], ...neostandard({ globals: { -- 2.34.1