ESLint shareable config for my projects.
$ npm install -D eslint @matt-fidd/eslint-config
Once the @matt-fidd/eslint-config
package is installed, you can use it by adding @matt-fidd
to the extends
section of your ESLint configuration.
{
...
"extends": "@matt-fidd",
...
}
To work properly, this rule set is designed to be used alongside the eslint:recommended
rule set. To do this, simply define them both inside the extends
section of your ESLint configuration.
{
...
"extends": [
"eslint:recommended",
"@matt-fidd"
],
...
}