-
Notifications
You must be signed in to change notification settings - Fork 5
/
cspell.config.yml
44 lines (36 loc) · 990 Bytes
/
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
$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
ignorePaths:
- 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
- filename: '.github/(actions|workflows)/*.yml'
ignoreRegExpList:
- /\b(?:[A-Za-z0-9\-_])+\/(?:[A-Za-z0-9\-_])+@v\d+(?:\.\d+){0,2}\b/ui # ignore action