The Electronegativity plugin integrates the Electronegativity tool into the Electron Forge workflow. After packaging your Electron app, it identifies any known misconfigurations and security anti-patterns.
yarn add --dev @electron-forge/plugin-electronegativity
Add this plugin to the plugins
array in your Forge config. The configuration options are the same as the programmatic options for Electronegativity, except for input
and electronVersion
.
forge.config.js{plugins: [['@electron-forge/plugin-electronegativity',{isSarif: true}]]}