Skip to content

ShanbayFE/eslint-config-shanbay

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 eslint

Step 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-shanbay

Usage

In .eslintrc.json or .eslintrc:

{
    "extends": ["airbnb", "shanbay"]
}

or

{
    "extends": ["airbnb-base", "shanbay/base"]
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published