ESLint Config
An ESLint config for use with the latest ESNext features, React and Flow
Quick Install
yarn add --dev eslint eslint-config-iansinnott eslint-plugin-react eslint-plugin-flowtype babel-eslint
echo '{"extends": ["iansinnott"]}' > .eslintrc
Usage with NPM
If you haven't checked out Yarn yet I would highly recommended, but this config works perfectly with NPM:
npm install --save-dev eslint eslint-config-iansinnott eslint-plugin-react eslint-plugin-flowtype babel-eslint
Then create a new .eslintrc
which extends trustar:
{
"extends": ["iansinnott"]
}
That's all!