Skip to content

highcharts/eslint-plugin-highcharts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

eslint-plugin-highcharts

ESLint rules for the Highcharts project

Adding new rules

Navigate to this folder and run yo eslint:rule.

Installation

You'll first need to install ESLint:

$ npm i eslint --save-dev

Next, install eslint-plugin-highcharts:

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

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

Usage

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

{
    "plugins": [
        "highcharts"
    ]
}

Then configure the rules you want to use under the rules section.

{
    "rules": {
        "highcharts/rule-name": 2
    }
}

About

ESLint rules for the Highcharts project.

Resources

Stars

Watchers

Forks

Packages

No packages published