1.0.2 • Published 8 years ago
eslint-config-shanbay v1.0.2
eslint-config-shanbay
Improving eslint-config-airbnb.
Install
Note: Please install it globally!
If you have global installed eslint-config-airbnb and eslint, you can skip step 1 and step 2.
Step 1. Install eslint:
npm i -g eslintStep 2. Install eslint-config-airbnb in Linux/OSX:
(
export PKG=eslint-config-airbnb;
npm info "$PKG@latest" peerDependencies --json | command sed 's/[\{\},]//g ; s/: /@/g' | xargs npm install -g "$PKG@latest"
)Step 3. Install eslint-config-shanbay
npm i -g eslint-config-shanbayUsage
In .eslintrc.json or .eslintrc:
{
"extends": ["airbnb", "shanbay"]
}or
{
"extends": ["airbnb-base", "shanbay/base"]
}