eslint-config-airbnb-base-hf

eslintconfig for hf base eslint-config-airbnb-base

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
eslint-config-airbnb-base-hf
1.10.27 years ago7 years agoMinified + gzip package size for eslint-config-airbnb-base-hf in KB

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 .

``` sh
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.

```sh
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.

```sh
{
  "extends": "airbnb-base-hf",
  "plugins": [
      "import"
  ]
}
```