Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 1,000,000+ packages pre-installed, including eslint-config-es6 with all npm packages installed. Try it out:

var eslintConfigEs6 = require("eslint-config-es6")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

eslint-config-es6 v1.10.3

eslintconfig for hf base eslint-config-airbnb-base

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

Metadata

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free