eslint-config-homeoffice

2.2.0 • Public • Published

eslint-config-homeoffice Build Status

This is the eslint configuration used on a variety of UKHomeOffice projects, including:

The version of eslint currently supported is 0.23.0.

Configurations

Two configurations are currently supported:

  • default
    • this is used for all frontend and node code
  • testing
    • this adds in a few globals required for testing with mocha, and disables a few of the rules to make the tests more readable

They can be used as following:

Default:

extends:
- "homeoffice/config/default"

Testing:

extends:
- '../.eslintrc'
- 'homeoffice/config/testing'

Note: To inherit from your project settings, you will need to inherit them first then override them using the testing configuration, due to the order of overrides

Readme

Keywords

Package Sidebar

Install

npm i eslint-config-homeoffice

Weekly Downloads

32

Version

2.2.0

License

ISC

Last publish

Collaborators

  • joefitter
  • lennym
  • easternbloc
  • noelsharpe