Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
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
  • Socket score

Version published
Weekly downloads
1
decreased by-88.89%
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

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc