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

@hmcts/eslint-config

Package Overview
Dependencies
Maintainers
14
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hmcts/eslint-config

Shared eslint config for hmcts projects

  • 1.4.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
860
increased by21.3%
Maintainers
14
Weekly downloads
 
Created
Source

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.

FAQs

Package last updated on 10 Jan 2018

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