eslint-config-ubixr
v1.2.1
Published
Some random ESLint configuration
Downloads
2
Readme
eslint-config-ubixr
This is mostly some tweaks about the Airbnb's configuration.
Install
$ npm install --save-dev eslint eslint-config-airbnb eslint-config-ubixr
Usage
Notes
- This config extends
eslint:airbnb
. - You might need to use
babel-eslint
if you use babel with fresh ES stages.
ES2015 for free
Add to your .eslintrc
configuration the default configuration. Note that this configuration
extends the default one, so you just need to include this one to get the React + ES2015 combo.
{
"extends": "ubixr"
}
React
Add to your .eslintrc
configuration the React configuration
$ npm install --save-dev eslint eslint-config-airbnb eslint-config-ubixr eslint-plugin-react
{
"extends": "ubixr/react"
}