Skip to content

hyperoslo/eslint-config

Repository files navigation

@hyperoslo/eslint-config

Version

Hyper's ESLint configuration, based on Airbnb's.

Licensed under the MIT license, see LICENSE for more information.

Usage

Available via npm:

npm install --save-dev eslint @hyperoslo/eslint-config eslint-config-airbnb

ES6

Additional dependencies to install:

npm install --save-dev babel-eslint eslint-plugin-import

Tweak .eslintrc:

{
  "extends": "@hyperoslo/eslint-config"
}

React

Additional dependencies to install:

npm install --save-dev babel-eslint eslint-plugin-import eslint-plugin-react eslint-plugin-jsx-a11y

Tweak .eslintrc:

{
  "extends": "@hyperoslo/eslint-config/react"
}

Credits

Hyper made this. We're a digital communications agency with a passion for good code, and if you're using this configuration we probably want to hire you.