0.0.0 • Published 7 months ago
eslint-plugin-testc v0.0.0
eslint-plugin-testc
plugin for production
Installation
You'll first need to install ESLint:
npm i eslint --save-dev
Next, install eslint-plugin-testc
:
npm install eslint-plugin-testc --save-dev
Usage
In your configuration file, import the plugin eslint-plugin-testc
and add testc
to the plugins
key:
import testc from "eslint-plugin-testc";
export default [
{
plugins: {
testc
}
}
];
Then configure the rules you want to use under the rules
key.
import testc from "eslint-plugin-testc";
export default [
{
plugins: {
testc
},
rules: {
"testc/rule-name": "warn"
}
}
];
Configurations
TODO: Run eslint-doc-generator to generate the configs list (or delete this section if no configs are offered).
Rules
TODO: Run eslint-doc-generator to generate the rules list.
0.0.0
7 months ago