0.0.1 • Published 4 years ago

eslint-configuration-lh v0.0.1

Weekly downloads
4
License
ISC
Repository
github
Last release
4 years ago

lh-eslint-config

Eslint configration

This package provides a shared extensible ESLint config only for Javascript at the moment

Shareable configs are designed to work with the extends feature of .eslintrc files.

Airbnb JavaScript style guide is used as the basis for our ESLint configuration with some additions/changes. See JavaScript Style Guide Confluence page.

Installation

Install ESLint and all dependencies:

npm install eslint-config-lh --save-dev

Getting started

Add the following to your package.json

{
  "scripts": {
    "lint": "eslint src/**/*.js",
    "lint:show-unused-directives": "npm run lint -- --report-unused-disable-directives",
  },
  "eslintConfig": {
    "extends": "eslint-config-lh"
  }
}

js-standard-style