Skip to content

Commit 25e545f

Browse files
authored
Add .cspell.json configuration file (#1233)
1 parent 08119c4 commit 25e545f

File tree

1 file changed

+65
-0
lines changed

1 file changed

+65
-0
lines changed

.cspell.json

Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
// http://cspell.org/configuration/
2+
{
3+
"version": "0.2",
4+
"language": "en,en-US",
5+
"useGitignore": true,
6+
"minWordLength": 4,
7+
"ignorePaths": [
8+
"target/**"
9+
],
10+
// list of words to be ignored. unlike `words` below, these won't be
11+
// suggested as corrections for misspelled words.
12+
"ignoreWords": [
13+
"otel",
14+
"rustdoc",
15+
"rustfilt"
16+
],
17+
// these are words that are always considered incorrect.
18+
"flagWords": [
19+
"recieve",
20+
"reciever",
21+
"seperate",
22+
"hte",
23+
"teh"
24+
],
25+
// these are words that are always correct and can be thought of as our
26+
// workspace dictionary.
27+
"words": [
28+
"opentelemetry",
29+
"OTLP",
30+
"quantile",
31+
"zipkin"
32+
],
33+
"enabledLanguageIds": [
34+
"jsonc",
35+
"markdown",
36+
"plaintext",
37+
"rust",
38+
"shellscript"
39+
],
40+
"languageSettings": [
41+
{
42+
"languageId": "jsonc",
43+
"includeRegExpList": [
44+
"CStyleComment"
45+
]
46+
},
47+
{
48+
"languageId": "markdown",
49+
"caseSensitive": false
50+
},
51+
{
52+
"languageId": "rust",
53+
"includeRegExpList": [
54+
"CStyleComment",
55+
"strings"
56+
]
57+
},
58+
{
59+
"languageId": "shellscript",
60+
"includeRegExpList": [
61+
"/#.*/g"
62+
]
63+
}
64+
]
65+
}

0 commit comments

Comments
 (0)