From: Jérôme Benoit Date: Mon, 18 Nov 2024 12:48:13 +0000 (+0100) Subject: chore: refine eslint configuration X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=c46a0e0dbcc5b6a8a914279877d61977ad8cdc96;p=poolifier.git chore: refine eslint configuration Signed-off-by: Jérôme Benoit --- 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: {