Skip to main content

Type Alias: ReporterSettings

ReporterSettings = ReporterModuleName | [ReporterModuleName] | [ReporterModuleName, ReporterOptions]

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

Declare a reporter to use.

default - is a special name for the default cli reporter.

Examples:

  • "default" - to use the default reporter
  • "@cspell/cspell-json-reporter" - use the cspell JSON reporter.
  • ["@cspell/cspell-json-reporter", { "outFile": "out.json" }]