@shiftgig/eslint-config
v1.0.6
Published
eslint config for Shiftgig apps
Downloads
1
Keywords
Readme
This repo contains Shiftgig JavaScript linting rules. In order to be sharable between apps it's published to the Shiftgig npm org as @shiftgig/eslint-config.
The config is centered around Airbnb defaults with a few rule changes. Many default Airbnb rules are set to warn temporarily while we work on fixing them.
Install
npm install eslint --save-dev
npm install @shiftgig/eslint-config --save-dev
Then just create a .eslintrc file in the root of your project with:
{ "extends": ["@shiftgig/eslint-config"] }
Run with ./node_modules/.bin/eslint yourfile.js
Updating the npm package
Create a PR to master so everyone can review and agree on changes. Then run npm publish