0.0.3 • Published 4 years ago
eslint-plugin-no-http v0.0.3
eslint-plugin-no-http
eslint plugin no http link, https link is ok
Installation
You'll first need to install ESLint:
$ npm i eslint --save-dev
Next, install eslint-plugin-no-http
:
$ npm install eslint-plugin-no-http --save-dev
Usage
Add no-http
to the plugins section of your .eslintrc
configuration file. You can omit the eslint-plugin-
prefix:
{
"plugins": [
"no-http"
]
}
Then configure the rules you want to use under the rules section.
{
"rules": {
"no-http/rule-name": 2
}
}