Skip to content

Commit

Permalink
Add scpell json to config the ignore list
Browse files Browse the repository at this point in the history
  • Loading branch information
wenzhixin committed Apr 24, 2024
1 parent 14ecff1 commit d568793
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 1 deletion.
19 changes: 19 additions & 0 deletions .cspell.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"$schema": "https://raw.githubusercontent.com/streetsidesoftware/cspell/main/cspell.schema.json",
"version": "0.2",
"dictionaries": [
"allowed-words"
],
"dictionaryDefinitions": [
{
"name": "allowed-words",
"path": "./.cspell-words.txt",
"addWords": true
}
],
"ignorePaths": [
"src/locale/**",
"node_modules/**",
"test/**"
]
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
"scripts": {
"lint:js": "eslint src",
"lint:css": "stylelint src/**/*.scss",
"lint:spell": "cspell lint --no-progress 'src/**/*.{js,json,vue,scss}' '**/*.md'",
"lint:spell": "cspell lint --no-progress 'src/**/*.{js,json,vue,scss}' 'site/**/*.md' '*.md'",
"lint:editor": "editorconfig-checker -exclude dist",
"lint": "run-s lint:*",
"test": "cypress run --headless",
Expand Down

0 comments on commit d568793

Please sign in to comment.