google / eslint-config-google

ESLint shareable config for the Google JavaScript style guide
Apache License 2.0
1.74k stars 140 forks source link

Strongly Recommend Extending 'eslint:recommended' #37

Closed ilyaigpetrov closed 7 years ago

ilyaigpetrov commented 7 years ago

Google eslint rules don't catch typos:

function foo(wasModified) {
  bar(wasModifed); // <- Typo!
}

So extending eslint:recommended is not just a recommendation like "Google is not opinionated blablabla", it is the best practice and strong recommendation.

philipwalton commented 7 years ago

The README includes a specific example about using eslint:recommended with the Google style rules. I think that's sufficient, and users can decide for themselves whether they want those rules or not.