0.0.3-14 • Published 6 years ago
eslint-plugin-hzero v0.0.3-14
eslint-plugin-hzero
eslint plugin for react of hzero
Installation
You'll first need to install ESLint:
$ npm i eslint --save-dev
Next, install eslint-plugin-hzero
:
$ npm install eslint-plugin-hzero --save-dev
Note: If you installed ESLint globally (using the -g
flag) then you must also install eslint-plugin-hzero
globally.
Usage
Add hzero
to the plugins section of your .eslintrc
configuration file. You can omit the eslint-plugin-
prefix:
{
"plugins": [
"hzero"
]
}
Then configure the rules you want to use under the rules section.
{
"rules": {
"hzero/rule-name": 2
}
}
Supported Rules
- hzero/no-custom-tag: not allow react element startsWith
$_a-z
and not a htmlElement
0.0.3-14
6 years ago
0.0.3-13
6 years ago
0.0.3-12
6 years ago
0.0.3-11
6 years ago
0.0.3-10
6 years ago
0.0.3-9
6 years ago
0.0.3-8
6 years ago
0.0.3
6 years ago
0.0.3-7
6 years ago
0.0.3-6
6 years ago
0.0.3-5
6 years ago
0.0.3-4
6 years ago
0.0.3-3
6 years ago
0.0.3-2
6 years ago
0.0.3-1
6 years ago
0.0.3-0
6 years ago
0.0.2
6 years ago
0.0.1
6 years ago