@heartlandone/eslint-plugin-vega-eslint
v1.2.5
Published
Eslint Plugin Package for Vega project
Downloads
2,089
Keywords
Readme
vega-eslint
Eslint plugin for vega project
Installation
You'll first need to install ESLint:
npm i eslint --save-dev
Next, install @heartlandone/eslint-plugin-vega-eslint
:
npm install @heartlandone/eslint-plugin-vega-eslint --save-dev
Usage
Add @heartlandone/vega-eslint
to the plugins section of your .eslintrc
configuration file. You can omit the eslint-plugin-
prefix:
{
"plugins": [
"@heartlandone/vega-eslint"
]
}
Then configure the rules you want to use under the rules section.
{
"rules": {
"@heartlandone/vega-eslint/rule-name": 2
}
}
Supported Rules
Development
Build
To build the package, please run
npm run build
Publish
To publish the package, please run
npm run release
Note: this command is publishing the package to npm registry instead of GitHub private package registry as we don't plan to limit the acess for this single package.