eslint-config-hyperoslo
v1.2.0
Published
Hyper's ESLint config
Downloads
6
Readme
eslint-config-hyperoslo
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 eslint-config-hyperoslo eslint-config-airbnb
ES6
Additional dependencies to install:
npm install --save-dev babel-eslint eslint-plugin-import
Tweak .eslintrc
:
{
"extends": "hyperoslo"
}
ES5 (legacy)
Tweak .eslintrc
:
{
"extends": "hyperoslo/legacy",
}
React
Additional dependencies to install:
npm install --save-dev babel-eslint eslint-plugin-import eslint-plugin-react eslint-plugin-jsx-a11y@^2.2.3
Tweak .eslintrc
:
{
"extends": "hyperoslo/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.