-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Expand file tree
/
Copy path.cspell.json
More file actions
104 lines (104 loc) · 2.37 KB
/
.cspell.json
File metadata and controls
104 lines (104 loc) · 2.37 KB
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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
// See: https://github.com/streetsidesoftware/cspell/tree/master/packages/cspell
{
"version": "0.2",
"import": [
"@cspell/dict-en_us/cspell-ext.json",
// "@cspell/dict-cpp/cspell-ext.json",
"@cspell/dict-python/cspell-ext.json",
"@cspell/dict-rust/cspell-ext.json",
"@cspell/dict-win32/cspell-ext.json",
"@cspell/dict-shell/cspell-ext.json",
],
"allowCompoundWords": true,
// language - current active spelling language
"language": "en",
// dictionaries - list of the names of the dictionaries to use
"dictionaries": [
"cpython", // Sometimes keeping same terms with cpython is easy
"python-more", // Python API terms not listed in python
"rust-more", // Rust API terms not listed in rust
"rustpython", // RustPython derive macros and internal terms
"en_US",
"softwareTerms",
"c",
"cpp",
"python",
"rust",
"shell",
"win32"
],
// dictionaryDefinitions - this list defines any custom dictionaries to use
"dictionaryDefinitions": [
{
"name": "cpython",
"path": "./.cspell.dict/cpython.txt"
},
{
"name": "python-more",
"path": "./.cspell.dict/python-more.txt"
},
{
"name": "rust-more",
"path": "./.cspell.dict/rust-more.txt"
},
{
"name": "rustpython",
"path": "./.cspell.dict/rustpython.txt"
}
],
"ignorePaths": [
"**/__pycache__/**",
"target/**",
"Lib/**"
],
// words - list of words to be always considered correct
// (compound words like pyarg, baseclass, microbenchmark are handled by allowCompoundWords)
"words": [
"aiterable",
"alnum",
"coro",
"dedentations",
"dedents",
"deduped",
"deoptimize",
"emscripten",
"excs",
"interps",
"jitted",
"jitting",
"kwonly",
"lossily",
"mcache",
"oparg",
"opargs",
"pyc",
"significand",
"summands",
"unraisable",
"wasi",
"weaked",
// unix
"posixshmem",
"shm",
"CLOEXEC",
"endgrent",
"gethrvtime",
"getrusage",
"sigaction",
"WRLCK",
// win32
"IFEXEC"
],
// flagWords - list of words to be always considered incorrect
"flagWords": [
],
"ignoreRegExpList": [
],
// languageSettings - allow for per programming language configuration settings.
"languageSettings": [
{
"languageId": "python",
"locale": "en"
}
]
}