Options
All
  • Public
  • Public/Protected
  • All
Menu

Module @electron-forge/plugin-electronegativity

Index

Type aliases

Confidence: "certain" | "firm" | "tentative"
CustomCheck: "dangerousfunctionsjscheck" | "remotemodulejscheck"
ElectronegativityConfig: { confidenceSet?: Confidence; customScan?: CustomCheck[]; electronUpgrade?: string; isRelative?: false; 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?: false

    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.

  • 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.

Severity: "high" | "medium" | "low" | "informational"