1.2.0 • Published 6 years ago
@madiodio/eslint-config-personal v1.2.0
@madiodio/eslint-config-personal
Install
npm install --dev @madiodio/eslint-config-personal
Usage
- First run this to find out the correct dependencies listed by this command:
npm info "@madiodio/eslint-config-personal" 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
...Or you can simply run this:
npm install --dev @madiodio/eslint-config-personal 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"
}
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
Disabled Rules
The eslint rules
which are turned off by this package are listed here
Inspirations
License
MIT