Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

eslint-config-nhsuk

Package Overview
Dependencies
Maintainers
4
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-config-nhsuk

ESLint config. Primarily intended for use within NHSUK projects.

  • 1.0.0
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
617
decreased by-24.94%
Maintainers
4
Weekly downloads
 
Created
Source

NHSUK's ESLint config

GitHub Release npm version Greenkeeper badge Build Status Known Vulnerabilities

This repo provides NHSUK's .eslintrc as a shareable config.

The config is an extension of eslint-config-airbnb-base. Details of the changes can be seen in the exported config defined in index.js. The main changes are the addition of node and mocha environments along with a few small tweaks to the rules. The rule changes better meet the personal preferences of the repo maintainers.

Installation

To install the package run:

  • npm - npm install eslint-config-nhsuk --save-dev
  • yarn - yarn add eslint-config-nhsuk --dev

The config relies upon several other packages. These are the Peer Dependencies. To get a list of the peerDependencies run the following command:

npm info eslint-config-nhsuk peerDependencies

All peerDependencies need to be installed.

Usage

Once the eslint-config-nhsuk package has been installed it is ready to be used. This is achieved by specifying nhsuk in the extends section of your eslint config file. If there is no existing eslint config file it could be as simple as creating a file named .eslintrc with the following content:

{
  "extends": "nhsuk"
}

Keywords

FAQs

Package last updated on 10 Oct 2019

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