Skip to content

antipodes-medical/eslint-config-antipodes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

ESLint configuration for Antipodes Medical

Resources

Stars

Watchers

Forks

Packages

No packages published