0.0.3 • Published 5 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-devNext, install eslint-plugin-no-http:
$ npm install eslint-plugin-no-http --save-devUsage
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
}
}