1.1.1 • Published 7 years ago

eslint-config-flying-rocket v1.1.1

Weekly downloads
1
License
MIT
Repository
github
Last release
7 years ago

Eslint Config Flying Rocket 🚀

travis npm downloads

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:

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 🚀