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

Enable eslint no-console rule except for build directory #29585

Merged
merged 3 commits into from
Oct 25, 2019

Conversation

pwolaq
Copy link
Contributor

@pwolaq pwolaq commented Oct 24, 2019

Resolves #29583

I have added the following config to the global .eslintrc.json file:

"no-console": "error"

As a result there were few errors inside build directory, which are now fixed by disabling this rule inside directory.

@pwolaq pwolaq changed the title Enable eslint no-console rule except for build directory (#29583) Enable eslint no-console rule except for build directory Oct 24, 2019
@XhmikosR XhmikosR self-requested a review October 25, 2019 07:16
Copy link
Member

@XhmikosR XhmikosR left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@XhmikosR
Copy link
Member

I'll manually backport this to v4-dev.

@XhmikosR XhmikosR merged commit b3dfcdc into twbs:master Oct 25, 2019
XhmikosR added a commit that referenced this pull request Oct 25, 2019
Enable eslint no-console rule except for build directory
lucanos pushed a commit to lucanos/bootstrap that referenced this pull request Oct 27, 2019
XhmikosR added a commit that referenced this pull request Oct 28, 2019
Enable eslint no-console rule except for build directory
XhmikosR added a commit that referenced this pull request Nov 1, 2019
Enable eslint no-console rule except for build directory
XhmikosR added a commit that referenced this pull request Nov 2, 2019
Enable eslint no-console rule except for build directory
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ESLint: enable no-console rule
2 participants