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

Freewind picture Freewind · Oct 16, 2015 · Viewed 13.2k times · Source

In a .eslintrc file, we can use:

"extends": "eslint:recommended"

to extend the recommended rules provided by eslint, and in the rule list, many of them are marked as "recommended".

My question what is the exact rule definitions for them? I searched in the repo of eslint, but not found it.

Answer

ChrisV picture ChrisV · Jun 9, 2016

Freewind's answer is pointing to a specific commit – now outdated.

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