Skip to content

Commit

Permalink
Add .cspell.json configuration file (#1233)
Browse files Browse the repository at this point in the history
  • Loading branch information
shaun-cox authored Aug 29, 2023
1 parent 08119c4 commit 25e545f
Showing 1 changed file with 65 additions and 0 deletions.
65 changes: 65 additions & 0 deletions .cspell.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
// http://cspell.org/configuration/
{
"version": "0.2",
"language": "en,en-US",
"useGitignore": true,
"minWordLength": 4,
"ignorePaths": [
"target/**"
],
// list of words to be ignored. unlike `words` below, these won't be
// suggested as corrections for misspelled words.
"ignoreWords": [
"otel",
"rustdoc",
"rustfilt"
],
// these are words that are always considered incorrect.
"flagWords": [
"recieve",
"reciever",
"seperate",
"hte",
"teh"
],
// these are words that are always correct and can be thought of as our
// workspace dictionary.
"words": [
"opentelemetry",
"OTLP",
"quantile",
"zipkin"
],
"enabledLanguageIds": [
"jsonc",
"markdown",
"plaintext",
"rust",
"shellscript"
],
"languageSettings": [
{
"languageId": "jsonc",
"includeRegExpList": [
"CStyleComment"
]
},
{
"languageId": "markdown",
"caseSensitive": false
},
{
"languageId": "rust",
"includeRegExpList": [
"CStyleComment",
"strings"
]
},
{
"languageId": "shellscript",
"includeRegExpList": [
"/#.*/g"
]
}
]
}

0 comments on commit 25e545f

Please sign in to comment.