-
Notifications
You must be signed in to change notification settings - Fork 778
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
Linting issue in no-console #11707
Linting issue in no-console #11707
Conversation
Build Artifacts
|
Interestingly, the WARN still gives an error in our linting, I think maybe we can just set this to ERROR instead, as we don't seem to differentiate. To merge this, we will need to fix the linting here. For most cases, we should use the core logging library, for an example of how it should be used, see here:
We can use this in all cases, except for the |
Hello @rtibbles, Thank you for the review. |
38abe51
to
e70c381
Compare
Hello 👋🏽 @rtibbles, I made the suggested changes. Please review once |
Will review - don't worry about the read the docs build, this is not caused by your work, and has been fixed on the release branch! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Excellent work, thank you!
Summary
Inserted no-console in rules that will warn if a
conole.log
is left without exception(the exception would be to disable it by usingeslint-disable
)…
References
Fixes: #10208
…
Reviewers Guidance
If this is works, then i think a follow up would be to trace
console.log
from the code baseTesting checklist
PR process
Reviewer checklist
yarn
andpip
)