1.1.0 • Published 3 years ago
eslint-plugin-electron-extension v1.1.0
eslint-plugin-electron-extension
ESLint plugin for electron extension
Installation
You'll first need to install ESLint:
npm i eslint --save-devNext, install eslint-plugin-electron-extension:
npm install eslint-plugin-electron-extension --save-devUsage
Add electron-extension to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:
{
"plugins": [
"electron-extension"
]
}Then configure the rules you want to use under the rules section.
{
"rules": {
"electron-extension/no-incompatible-api": 2
}
}Rules
| Name | Description |
|---|---|
| no-incompatible-api | Rules for electron extension api |
1.1.0
3 years ago