google / eslint-config-google

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

ESLint v6+: eslint:recommended removed rule 'no-console' #65

Open RandomByte opened 3 years ago

RandomByte commented 3 years ago

With ESLint v6, the 'no-console' rule was removed from eslint:recommended: https://eslint.org/docs/user-guide/migrating-to-6.0.0#eslintrecommended-has-been-updated

For the Google config to stay consistent across ESLint versions it might make sense to explicitly active the rule now: https://github.com/google/eslint-config-google/blob/cc39cf57d36b071985a15ccc97594cf12f52ef41/index.js#L38

What do you think?