eslint-plugin-formatdomain
v1.0.5
Published
a eslint rule plugin for format domain as no solid url
Downloads
16
Maintainers
Readme
eslint-plugin-formatdomain
a eslint rule plugin for format domain as no solid url
Installation
You'll first need to install ESLint:
npm i eslint --save-dev
Next, install eslint-plugin-formatdomain
:
npm install eslint-plugin-formatdomain --save-dev
Usage
Add formatdomain
to the plugins section of your .eslintrc
configuration file. You can omit the eslint-plugin-
prefix:
{
"plugins": [
"formatdomain"
]
}
Then configure the rules you want to use under the rules section.
{
"rules": {
"formatdomain/rule-name": 2
}
}
Rules
TODO: Run eslint-doc-generator to generate the rules list.