Last active
June 26, 2024 11:40
-
-
Save ali-kamalizade/2f0f6e2fae21575fee25b80c43c12602 to your computer and use it in GitHub Desktop.
ESLint configuration (simplified) with CSpell plugin to detect spelling issues
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
{ | |
"files": ["*.ts"], | |
"excludedFiles": ["*.spec.ts"], | |
"parserOptions": { | |
"project": ["tsconfig.json"], | |
"createDefaultProgram": true | |
}, | |
"plugins": ["@cspell"], | |
"rules": { | |
"@cspell/spellchecker": [ | |
"error", | |
{ | |
"checkComments": true, | |
"checkIdentifiers": true, | |
"checkJSXText": false, | |
"checkStrings": true, | |
"checkStringTemplates": true, | |
"ignoreImportProperties": true, | |
"ignoreImports": true, | |
"numSuggestions": 4 | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment