eslint-config for my projects and for anyone else who would like to use it 😉
It uses eslint 2.x.
npm install --save-dev eslint eslint-config-fhelwanger eslint-plugin-react babel-eslint
Then, extend fhelwanger
in your .eslintrc
:
{
"extends": "fhelwanger"
}
It'll export all the ES6 + React rules.
If you want just ES6 or ES5, you can extend "fhelwanger/es6"
or "fhelwanger/base"
.
In these cases, there is no need to install eslint-plugin-react
.
- eslint for its amazing linting.
- eslint-config-rackt for providing me a starting point on how to create my own.
- Airbnb JavaScript style guide - it's awesome.
MIT