Some random ESLint configuration
npm install eslint-config-ubixr
This is mostly some tweaks about the Airbnb's configuration.
``bash`
$ npm install --save-dev eslint eslint-config-airbnb eslint-config-ubixr
- This config extends eslint:airbnb.
- You might need to use babel-eslint if you use babel with fresh ES stages.
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.
`json`
{
"extends": "ubixr"
}
Add to your .eslintrc configuration the React configuration
`console`
$ npm install --save-dev eslint eslint-config-airbnb eslint-config-ubixr eslint-plugin-react
`json``
{
"extends": "ubixr/react"
}