ElectronegativityConfig: {
    confidenceSet?: Confidence;
    customScan?: CustomCheck[];
    electronUpgrade?: string;
    isRelative?: boolean;
    isSarif?: boolean;
    output?: string;
    parserPlugins?: string[];
    severitySet?: Severity;
}

Type declaration

  • Optional confidenceSet?: Confidence

    Only return findings with the specified level of confidence or above.

    Defaults to tentative.

  • Optional customScan?: CustomCheck[]

    Specified checks to run.

  • Optional electronUpgrade?: string

    Specify a range to run Electron upgrade checks. For example, '7..8' checks an upgrade from Electron 7 to Electron 8.

  • Optional isRelative?: boolean

    Whether to show relative paths for files.

    Defaults to false.

  • Optional isSarif?: boolean

    Whether to save the output in SARIF or CSV format.

    Defaults to CSV.

  • Optional output?: string

    Save the results to a file in CSV or SARIF format.

  • Optional parserPlugins?: string[]

    Specify additional parser plugins to use. For example, optionalChaining.

    Defaults to empty array ([])

  • Optional severitySet?: Severity

    Only return findings with the specified level of severity or above.

    Defaults to informational.