4.1.0 • Published 2 months ago

eslint-config-react-yas v4.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
2 months ago

eslint-config-react-yas

YAS. An ESLint config that, you know, just works and makes sense and requires no more setup. This is a "batteries-included" eslint config, and comes with the correct base eslint dependency, all required eslint plugins, as well as the correct version of prettier and connective tissue. Enjoy!

Installation

Yarn yarn add eslint-config-react-yas --dev

NPM npm install eslint-config-react-yas --save-dev

Usage

In your .eslintrc.json (or eslintrc.js or equivalent)

{
  "extends": "eslint-config-react-yas"
}

Why?

I've wired up more eslint configs than I would like to admit, and I do not like doing it. These configuration settings I've found to work wonders for BOTH regular, vanilla JS projects, AND React projects. Using this, you can throw away your .prettierrc file and just let eslint do all the code quality checking and formatting.

License

MIT