Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Local ESLint no-console and no-debugger settings are ignored #1313

Closed
chrisvfritz opened this issue May 17, 2018 · 0 comments
Closed

Local ESLint no-console and no-debugger settings are ignored #1313

chrisvfritz opened this issue May 17, 2018 · 0 comments

Comments

@chrisvfritz
Copy link
Contributor

Version

3.0.0-beta.10

Reproduction link

https://github.com/chrisvfritz/vue-enterprise-boilerplate

Steps to reproduce

Run yarn e2e, see that the lint step is flagging no-console for instances of console.warn, even though that is allowed by the local setting.

What is expected?

I expect local rules to take precedence over the built-in rules.

What is actually happening?

Currently, even if users define their own settings for no-debugger or no-console, these are ignored. I personally think an out-of-the-box no-console rule is a little too opinionated, even if it only restricted console.log. I personally never want to see console.log in committed code, but I've seen others use it intentionally.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants