Skip to main content

Interface: TraceOptions

Defined in: cspell/src/app/options.ts:128

Extends

Properties

all?

optional all: boolean

Defined in: cspell/src/app/options.ts:144

Show all dictionaries, not just the ones that contain the words or are enabled.


allowCompoundWords?

optional allowCompoundWords: boolean

Defined in: cspell/src/app/options.ts:136

Enable the allowCompoundWords option.


color?

optional color: boolean

Defined in: cspell/src/app/options.ts:304

Use color in the output. true to force color, false to turn off color. undefined to use color if the output is a TTY.

Inherited from

BaseOptions.color


config?

optional config: string

Defined in: cspell/src/app/options.ts:265

Path to configuration file.

Inherited from

BaseOptions.config


defaultConfiguration?

optional defaultConfiguration: boolean

Defined in: cspell/src/app/options.ts:279

Load the default configuration

Default

true

Inherited from

BaseOptions.defaultConfiguration


dictionary?

optional dictionary: string[]

Defined in: cspell/src/app/options.ts:153

Names of dictionaries to use.


dictionaryPath?

optional dictionaryPath: "hide" | "long" | "short" | "full"

Defined in: cspell/src/app/options.ts:157

Configure how to display the dictionary path.


exitCode?

optional exitCode: boolean

Defined in: cspell/src/app/options.ts:290

Return an exit code if there are issues found.

Default

true

Inherited from

BaseOptions.exitCode


flag?

optional flag: string[]

Defined in: cspell/src/app/options.ts:297

Execution flags. Used primarily for releasing experimental features. Flags are of the form key:value

Inherited from

BaseOptions.flag


ignoreCase?

optional ignoreCase: boolean

Defined in: cspell/src/app/options.ts:140

Ignore case and accents when searching for words.


languageId?

optional languageId: string

Defined in: cspell/src/app/options.ts:269

Programming Language ID.

Inherited from

BaseOptions.languageId


locale?

optional locale: string

Defined in: cspell/src/app/options.ts:273

Locale to use.

Inherited from

BaseOptions.locale


onlyFound?

optional onlyFound: boolean

Defined in: cspell/src/app/options.ts:149

Show only dictionaries that contain the words. If all is set, this option is ignored.


stdin?

optional stdin: boolean

Defined in: cspell/src/app/options.ts:132

Use stdin for the input.


validateDirectives?

optional validateDirectives: boolean

Defined in: cspell/src/app/options.ts:284

Check In-Document CSpell directives for correctness.

Inherited from

BaseOptions.validateDirectives