Where can I find rule definitions for "eslint: recommended"?

In the .eslintrc file we can use:

 "extends": "eslint:recommended" 

to expand the recommended rules provided by eslint, and into the list of rules , many of them are marked as โ€œrecommendedโ€.

My question is: what are the exact definitions of the rules for them? I searched the eslint repo but did not find it.

+13
source share
2 answers

A free answer indicates a specific commit โ€” now obsolete.

The current eslint:recommended rules can be found at github.com/eslint/eslint/blob/master/conf/eslint-recommended.js .

+14
source

All Articles