@opentech0/eslint-config-opentech
v1.1.0
Published
```bash yarn add @opentech0/eslint-config-opentech -D ```
Readme
Installation
yarn add @opentech0/eslint-config-opentech -DUsage
.eslintrc.json
{
"extends": "@opentech0/eslint-config-opentech"
}package.json
{
"scripts": {
"eslint": "./node_modules/.bin/eslint '**/*.js'",
"eslint:fix": "./node_modules/.bin/eslint '**/*.js' --fix"
}
}Extending the config
Simply add a "rules" key to your config, then add your overrides and additions there.
For example, to turn off the no-console rule:
{
"extends": "@opentech0/eslint-config-opentech",
"rules": {
"no-console": "off"
}
}"# eslint-config-opentech"
