1.4.0 • Published 6 years ago

@hmcts/eslint-config v1.4.0

Weekly downloads
882
License
MIT
Repository
github
Last release
6 years ago

Build Status npm version

ESLint Config

Custom rules for eslint.

Usage

Add to your package.json:

> yarn add eslint @hmcts/eslint-config

Create a .eslintrc.json which extends this config:

{
  "extends": "@hmcts"
  "env": {
    "es6": true,
    "node": true
  },
  "parserOptions": {
    "sourceType": "module"
  }
}

Create a .eslintignore so your node_modules don't get linted:

node_modules

Run eslint:

> ./node_modules/.bin/eslint .

To see example code that conforms to this style check hmcts/look-and-feel.

1.4.0

6 years ago

1.3.0

6 years ago

1.2.0

7 years ago

1.0.5

7 years ago

1.0.5-0

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago