Interface: ReportingConfiguration
Defined in: cspell-types/dist/index.d.mts:293
Extends
ReporterConfigurationBase
.SuggestionsConfiguration
.UnknownWordsConfiguration
Extended by
Properties
ignoreRandomStrings?
optional
ignoreRandomStrings:boolean
Defined in: cspell-types/dist/index.d.mts:234
Ignore sequences of characters that look like random strings.
Default
true
Inherited from
ReporterConfigurationBase.ignoreRandomStrings
maxDuplicateProblems?
optional
maxDuplicateProblems:number
Defined in: cspell-types/dist/index.d.mts:222
The maximum number of times the same word can be flagged as an error in a file.
Default
5
Inherited from
ReporterConfigurationBase.maxDuplicateProblems
maxNumberOfProblems?
optional
maxNumberOfProblems:number
Defined in: cspell-types/dist/index.d.mts:216
The maximum number of problems to report in a file.
Default
10000
Inherited from
ReporterConfigurationBase.maxNumberOfProblems
minRandomLength?
optional
minRandomLength:number
Defined in: cspell-types/dist/index.d.mts:240
The minimum length of a random string to be ignored.
Default
40
Inherited from
ReporterConfigurationBase.minRandomLength
minWordLength?
optional
minWordLength:number
Defined in: cspell-types/dist/index.d.mts:228
The minimum length of a word before checking it against a dictionary.
Default
4
Inherited from
ReporterConfigurationBase.minWordLength
numSuggestions?
optional
numSuggestions:number
Defined in: cspell-types/dist/index.d.mts:10
Number of suggestions to make.
Default
10
Inherited from
SuggestionsConfiguration
.numSuggestions
suggestionNumChanges?
optional
suggestionNumChanges:number
Defined in: cspell-types/dist/index.d.mts:26
The maximum number of changes allowed on a word to be considered a suggestions.
For example, appending an s
onto example
-> examples
is considered 1 change.
Range: between 1 and 5.
Default
3
Inherited from
SuggestionsConfiguration
.suggestionNumChanges
suggestionsTimeout?
optional
suggestionsTimeout:number
Defined in: cspell-types/dist/index.d.mts:16
The maximum amount of time in milliseconds to generate suggestions for a word.
Default
500
Inherited from
SuggestionsConfiguration
.suggestionsTimeout
unknownWords?
optional
unknownWords:UnknownWordsChoices
Defined in: cspell-types/dist/index.d.mts:328
Controls how unknown words are handled.
report-all
- Report all unknown words (default behavior)report-simple
- Report unknown words that have simple spelling errors, typos, and flagged words.report-common-typos
- Report unknown words that are common typos and flagged words.report-flagged
- Report unknown words that are flagged.
Default
"report-all"
Since
9.1.0