📅 You're Invited: Meet the Socket team at RSAC (April 28 – May 1).RSVP
Socket
Sign inDemoInstall
Socket

eslint-config-homeoffice

Package Overview
Dependencies
Maintainers
4
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-config-homeoffice

Eslint settings for Home Office projects

2.2.0
latest
Source
npm
Version published
Weekly downloads
77
108.11%
Maintainers
4
Weekly downloads
 
Created
Source

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

Keywords

eslint

FAQs

Package last updated on 28 Jul 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts