1.1.0 • Published 3 years ago
@antipodes-medical/eslint-config-antipodes v1.1.0
Installation
yarn add @antipodes-medical/eslint-config-antipodes -DUsage
.eslintrc.json
{
  "extends": "@antipodes-medical/eslint-config-antipodes"
}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": "@antipodes-medical/eslint-config-antipodes",
  "rules": {
    "no-console": "off"
  }
}