1.10.3 • Published 7 years ago

eslint-config-es6 v1.10.3

Weekly downloads
268
License
MIT
Repository
-
Last release
7 years ago

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"
    ]
  }