1.1.0 • Published 2 years ago

@antipodes-medical/eslint-config-antipodes v1.1.0

Weekly downloads
-
License
-
Repository
-
Last release
2 years ago

Installation

yarn add @antipodes-medical/eslint-config-antipodes -D

Usage

.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"
  }
}