Install with npm
(or yarn
/ pnpm
):
npm i @dylanarmstrong/eslint-config --save-dev
Then create an .eslintrc
file in your project directory:
{
"extends": "@dylanarmstrong"
}
Adjust your .eslintrc
file as necessary by adding rules:
{
"extends": "@dylanarmstrong",
"rules": {
"no-tabs": "off"
}
}
All encompassing eslint rules that can be placed on any project and have this plugin automatically adjust to the type of project.
Secondary goal is to avoid using any recommended rule sets.