Skip to content

Latest commit

 

History

History
52 lines (34 loc) · 1.09 KB

README.md

File metadata and controls

52 lines (34 loc) · 1.09 KB

@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.