Closed ntwb closed 5 years ago
Thank you for this issue.
This is the correct behavior because no-console
rule was removed from eslint:recommended
config. If you want no-console
to enable, configure it in your .eslintrc
file.
See also: https://eslint.org/docs/user-guide/migrating-to-6.0.0
Thanks @mysticatea, I missed that and you are correct that resolves the issue 💯
Over in stylelint #4196 we have an issue where we are using:
Via https://travis-ci.com/stylelint/stylelint/jobs/223902356#L231
For example, the last error from above for
system-tests/004/004.test.js#L20
So,
console.log
is only triggered on error, theno-console
ESLint rule here works as expected, buteslint-plugin-eslint-comments