eslint-config-es6
v1.10.3
Published
eslintconfig for hf base eslint-config-airbnb-base
Downloads
331
Readme
eslint-config-airbnb-base-hf
This package provides hf's base JS .eslintrc.json as an extensible shared config.
Usage
We export two ESLint configurations for your usage.
global way
You should install eslint@^3.0.1 And eslint-plugin-import@^1.10.3 .
npm install eslint-config-airbnb-base-hf -g
project way
You should install eslint@^3.0.1 And eslint-plugin-import@^1.10.3 Local.
npm install --save-dev eslint-config-airbnb-base-hf
config
Add a json(.eslintrc.json) to a folder, the folder is your project's parent.
{
"extends": "airbnb-base-hf",
"plugins": [
"import"
]
}