@seduo/eslint-plugin-seduo
v1.0.0
Published
Custom rules for seduo
Downloads
301
Readme
Seduo.cz - ESLint config
These configuration files are suitable to lint TypeScript code.
Installation
You'll first need to install ESLint:
npm i eslint --save-dev
Next, install @seduo/eslint-plugin-seduo
:
npm install @seduo/eslint-plugin-seduo --save-dev
Usage
Add seduo
to the plugins section of your .eslintrc
configuration file. You can omit the eslint-plugin-
prefix:
{
"plugins": ["seduo"]
}
Then configure the rules you want to use under the rules section.
{
"rules": {
"seduo/rule-name": 2
}
}
Supported Rules
no-eznyme
Development
New rules
Rules and the plugin itself were generated with package generator-eslint. See documentation how to install generator and how to generate new rules.