An ESLint Shareable Config for the style I use and you may like too 🍕
yarn add eslint-config-uforce --dev
Shareable configs are designed to work with the extends
feature of .eslintrc
files.
You can learn more about
Shareable Configs on the
official ESLint website.
Add this to your .eslintrc file:
{
"extends": "uforce"
}
Note: We omitted the eslint-config-
prefix since it is automatically assumed by ESLint.
You can override settings from the shareable config by adding them directly into your
.eslintrc
file.
- eslint-config-airbnb
- eslint-config-prettier
- eslint-plugin-compat
- eslint-plugin-flowtype
- eslint-plugin-import
- eslint-plugin-jest
- eslint-plugin-jsx-a11y
- eslint-plugin-prettier
- eslint-plugin-react
- Use signgle quotes (prettier)
- Use semicolons (prettier)
- no-weak-types - No using Array and Object in flow ( only warning)
- react-in-jsx-scope - Turned off because I use preact a lot with .js files