A plugin containing custom rules that I use in my projects
You'll first need to install ESLint:
npm i eslint --save-dev
npm install @beardedviking/eslint-plugin --save-dev
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"
}
}