@madiodio/eslint-config-personal-flow
v1.2.0
Published
Personal ESLint configuration with Flowtype
Downloads
5
Maintainers
Readme
@madiodio/eslint-config-personal-flow
TODO
Make this a monorepo with eslint-plugin-personal
Install
npm install --dev @madiodio/eslint-config-personal-flow
Usage
- First run this to find out the correct dependencies listed by this command:
npm info "@madiodio/eslint-config-personal-flow" peerDependencies
...then run npm install --dev [package]
for all the packages listed.
If using npm 5+ then you're lucky, use this shortcut instead:
npx install-peerdeps --dev @madiodio/eslint-config-personal-flow
...Or you can simply run this:
npm install --dev @madiodio/eslint-config-personal-flow eslint-config-airbnb eslint-config-prettier eslint-plugin-import eslint-plugin-jsx-a11y eslint-plugin-react eslint-plugin-flowtype babel-eslint eslint
- Add this to your .eslintrc file:
{
"extends": "@madiodio/eslint-config-personal-flow"
}
Settings are overridable from the shareable config by adding them directly into your
.eslintrc
file.
External Configs and Plugins
The following are the configs and plugins from which this package extends
its rules:
- eslint:recommended
- eslint-config-airbnb
- eslint-config-prettier
- eslint-plugin-import
- eslint-plugin-jsx-a11y
- eslint-plugin-react
- eslint-plugin-flowtype
Disabled Rules
The eslint rules
which are turned off by this package are listed here
Inspirations
License
MIT