0.2.0 • Published 6 years ago
eslint-plugin-ha v0.2.0
eslint-plugin-ha
Sometimes naive.
Installation
You'll first need to install ESLint:
$ npm i eslint --save-dev
Next, install eslint-plugin-ha
:
$ npm install eslint-plugin-ha --save-dev
Note: If you installed ESLint globally (using the -g
flag) then you must also install eslint-plugin-ha
globally.
Usage
Add ha
to the plugins section of your .eslintrc
configuration file. You can omit the eslint-plugin-
prefix:
{
"plugins": [
"ha"
]
}
Then configure the rules you want to use under the rules section.
{
"extends": ["ha:recommended"]
}
Supported Rules
- Fill in provided rules here
License
Apache License 2.0
Copyright (c) 2018-present Pig Fang