5.2.2 • Published 7 months ago

eslint-config-react-yas v5.2.2

Weekly downloads
-
License
MIT
Repository
github
Last release
7 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

Legacy format

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

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

Flat format

For the newish flat configuration, create an eslint.config.js file (if you don't already have one), and be sure to import eslintConfigReactYas at the top, then specify it in your config array:

import eslintConfigReactYas from 'eslint-config-react-yas';

export default [...eslintConfigReactYas, /* place any additional configs or overrides here */];

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

5.2.2

7 months ago

5.2.1

7 months ago

5.2.0

8 months ago

5.1.1-beta.3

8 months ago

5.1.1-beta.2

8 months ago

5.1.1-beta.1

8 months ago

5.1.1-beta.0

8 months ago

5.0.4

12 months ago

5.0.3

12 months ago

5.0.2

12 months ago

5.1.0

12 months ago

5.0.1

12 months ago

5.0.0

12 months ago

5.0.1-beta.0

12 months ago

4.2.1-beta.1

12 months ago

4.2.1-beta.0

12 months ago

4.2.0

1 year ago

4.1.1-beta.2

1 year ago

4.1.0

2 years ago

4.0.0

2 years ago

3.0.2

3 years ago

3.0.1

3 years ago

3.0.0

3 years ago

2.0.1-beta.0

3 years ago

2.0.0

3 years ago

2.0.0-beta.1

4 years ago

2.0.0-beta.0

4 years ago

1.3.0

4 years ago

1.2.1

4 years ago

1.2.0

4 years ago

1.1.1

4 years ago

1.1.0

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago