eslint-config-flying-rocket
v1.1.1
Published
Awesome Eslint Configuration I use
Downloads
17
Maintainers
Readme
Eslint Config Flying Rocket 🚀
An ESLint Shareable Config for the style I use and you may like too 🍕
Install
yarn add eslint-config-flying-rocket --dev
Usage
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": "flying-rocket"
}
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.
Packages:
- 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
Custom Rules:
- Use signgle quotes (prettier)
- No 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
License
MIT. Copyright (c) Sara Vieira 🚀