1.4.0 • Published 2 years ago
@beardedviking/eslint-plugin v1.4.0
@beardedviking/eslint-plugin
A plugin containing custom rules that I use in my projects
Installation
You'll first need to install ESLint:
npm i eslint --save-dev
npm install @beardedviking/eslint-plugin --save-devUsage
Add @beardedviking to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin prefix:
{
"plugins": ["@beardedviking"]
}Then configure the rules you want to use under the rules section.
{
"rules": {
"@beardedviking/<config-name>": "error"
}
}