Skip to main content

Interface: ReportingConfiguration

Defined in: cspell-types/dist/index.d.mts:363

Extends

Extended by

Properties

ignoreRandomStrings?

optional ignoreRandomStrings?: boolean

Defined in: cspell-types/dist/index.d.mts:301

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:289

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:283

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:307

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:295

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:71

Number of suggestions to make.

Default

10

Inherited from

SuggestionsConfiguration.numSuggestions


suggestionNumChanges?

optional suggestionNumChanges?: number

Defined in: cspell-types/dist/index.d.mts:87

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:77

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:397

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