Skip to main content

Interface: ReportingConfiguration

Defined in: CSpellReporter.ts:288

Extends​

Extended by​

Properties​

ignoreRandomStrings?​

optional ignoreRandomStrings?: boolean

Defined in: CSpellReporter.ts:218

Ignore sequences of characters that look like random strings.

Default​

true

Inherited from​

ReporterConfigurationBase.ignoreRandomStrings


maxDuplicateProblems?​

optional maxDuplicateProblems?: number

Defined in: CSpellReporter.ts:204

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: CSpellReporter.ts:197

The maximum number of problems to report in a file.

Default​

10000

Inherited from​

ReporterConfigurationBase.maxNumberOfProblems


minRandomLength?​

optional minRandomLength?: number

Defined in: CSpellReporter.ts:225

The minimum length of a random string to be ignored.

Default​

40

Inherited from​

ReporterConfigurationBase.minRandomLength


minWordLength?​

optional minWordLength?: number

Defined in: CSpellReporter.ts:211

The minimum length of a word before checking it against a dictionary.

Default​

4

Inherited from​

ReporterConfigurationBase.minWordLength


numSuggestions?​

optional numSuggestions?: number

Defined in: SuggestionsConfiguration.ts:7

Number of suggestions to make.

Default​

10

Inherited from​

SuggestionsConfiguration.numSuggestions


suggestionNumChanges?​

optional suggestionNumChanges?: number

Defined in: SuggestionsConfiguration.ts:25

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: SuggestionsConfiguration.ts:14

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: CSpellReporter.ts:333

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

Inherited from​

UnknownWordsConfiguration.unknownWords