eslint-plugin-electron-extension
v1.1.0
Published
ESLint plugin for electron extension
Downloads
14
Maintainers
Readme
eslint-plugin-electron-extension
ESLint plugin for electron extension
Installation
You'll first need to install ESLint:
npm i eslint --save-dev
Next, install eslint-plugin-electron-extension
:
npm install eslint-plugin-electron-extension --save-dev
Usage
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 |