1.1.0 • Published 1 year ago

eslint-plugin-electron-extension v1.1.0

Weekly downloads
-
License
ISC
Repository
-
Last release
1 year ago

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

NameDescription
no-incompatible-apiRules for electron extension api