-
-
Notifications
You must be signed in to change notification settings - Fork 10
/
cspell.config.yml
67 lines (58 loc) · 1.38 KB
/
cspell.config.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
$schema: https://raw.githubusercontent.com/streetsidesoftware/cspell/main/cspell.schema.json
version: "0.2"
language: en-US
dictionaryDefinitions:
- name: project-dictionary
path: ./project-dictionary.txt
addWords: true
allowCompoundWords: true
caseSensitive: false
useGitignore: true
dictionaries:
- en_US
- bash
- filetypes
- fonts
- html
- misc
- node
- npm
- softwareTerms
- typescript
- project-dictionary
import:
- "@cspell/dict-cryptocurrencies/cspell-ext.json"
ignorePaths:
- .eslintrc.json
- .git
- .gitattributes
- .gitignore
- .husky
- .lintstagedrc.yml
- .markdownlint.json
- .npmrc
- .prettierignore
- .prettierrc.yml
- .vscode
- CHANGELOG.md
- coverage
- cspell.config.yml
- dist
- node_modules
- package.json
- patches
- pnpm-lock.yaml
- project-dictionary.txt
ignoreRegExpList:
- /\b[a-f0-9]{6}\b/ui # ignore hex color codes
- /\b[a-z0-9]{32,}\b/ui # ignore long string of hex characters
- /`[^`]*`/u # ignore things in `...`
- /```[\w\W]*?```/u # ignore things in ```...```
overrides:
- filename: "**/*.yml"
ignoreRegExpList:
- /^\s*(?:[a-z0-9]|-|_|\"|')+:/ui # ignore keys
- /@[a-z0-9-]+\/[a-z0-9-]+/u # scoped packages
- filename: ".github/(actions|workflows)/*.yml"
ignoreRegExpList:
- /\b(?:[A-Za-z0-9\-_])+\/(?:[A-Za-z0-9\-_])+@v\d+(?:\.\d+){0,2}\b/ui # ignore action