eslint-plugin-zx-plugin
v0.3.5
Published
plugin for my project
Downloads
326
Maintainers
Readme
eslint-plugin-zx-plugin
plugin for my project
Installation
You'll first need to install ESLint:
npm i eslint --save-dev
Next, install eslint-plugin-zx-plugin
:
npm install eslint-plugin-zx-plugin --save-dev
Usage
Add zx-plugin
to the plugins section of your .eslintrc
configuration file. You can omit the eslint-plugin-
prefix:
{
"plugins": [
"zx-plugin"
]
}
Then configure the rules you want to use under the rules section.
{
"rules": {
"zx-plugin/rule-name": 2
}
}
Configurations
TODO: Run eslint-doc-generator to generate the configs list (or delete this section if no configs are offered).
Rules
| Name | Description | | :----------------------------------------------------- | :------------------------ | | path-checker | relative path checker | | public-api-imports | public api import checker |