build: refine eslint spell checker configuration
authorJérôme Benoit <jerome.benoit@piment-noir.org>
Thu, 30 May 2024 21:29:27 +0000 (23:29 +0200)
committerJérôme Benoit <jerome.benoit@piment-noir.org>
Thu, 30 May 2024 21:29:27 +0000 (23:29 +0200)
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
eslint.config.js

index 67c827ae3c72afe9033dd01e242aa94be21d0da0..8666f4c4a02ac7287b1a85bf448d62f9848d8cda 100644 (file)
@@ -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',
     },