0.0.1 • Published 5 years ago
eslint-configuration-lh v0.0.1
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-devGetting 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"
}
}0.0.1
5 years ago