From 01caf77910a88fe7cf23625cbeec8a132b05ead1 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Thu, 30 May 2024 23:29:27 +0200 Subject: [PATCH] build: refine eslint spell checker 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 | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/eslint.config.js b/eslint.config.js index 67c827ae..8666f4c4 100644 --- a/eslint.config.js +++ b/eslint.config.js @@ -31,6 +31,24 @@ export default defineFlatConfig([ 'simple-import-sort': simpleImportSort, }, rules: { + '@cspell/spellchecker': [ + 'warn', + { + autoFix: true, + cspell: { + words: [ + 'Alessandro', + 'Ardizio', + 'Benoit', + 'IWRR', + 'Quadflieg', + 'neostandard', + 'poolifier', + 'tseslint', + ], + }, + }, + ], 'simple-import-sort/imports': 'error', 'simple-import-sort/exports': 'error', }, -- 2.34.1