Skip to content

panicinc/eslint-plugin-nova

 
 

Repository files navigation

eslint-plugin-nova

ESLint rules for the Nova extension API.

Installation

You'll first need to install ESLint:

$ npm install eslint --save-dev

Next, install eslint-plugin-nova:

$ npm install eslint-plugin-nova --save-dev

Note: If you installed ESLint globally (using the -g flag) then you must also install eslint-plugin-nova globally.

Usage

Add nova to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:

{
    "plugins": [
        "nova"
    ]
}

Finally, add nova/nova to the env section of your .eslintrc file:

"env": {
    "commonjs": true,
    "nova/nova": true
}

About

ESLint rules for the Nova extension API

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%