0.0.3-14 • Published 5 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
5 years ago
0.0.3-13
5 years ago
0.0.3-12
5 years ago
0.0.3-11
5 years ago
0.0.3-10
5 years ago
0.0.3-9
5 years ago
0.0.3-8
5 years ago
0.0.3
5 years ago
0.0.3-7
5 years ago
0.0.3-6
5 years ago
0.0.3-5
5 years ago
0.0.3-4
5 years ago
0.0.3-3
5 years ago
0.0.3-2
5 years ago
0.0.3-1
5 years ago
0.0.3-0
5 years ago
0.0.2
5 years ago
0.0.1
5 years ago