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

Docs: no-console#When-Not-To-Use provides incorrect rule snippet #11093

Commits on Nov 17, 2018

  1. Docs: no-console#When-Not-To-Use provides incorrect rule snippet

    Current selector results in a warning for `console.log()` instead of `console.foobar()`. The 'unexpectd property' should be  selected with `!=`
    
    Also, turning off "no-console" is still required to achieve "only receiving errors for console calls with unexpected property"
    
    Add missing "no-console: off" for `When Not To Use It` snippet
    choznerol committed Nov 17, 2018
    Copy the full SHA
    d426f28 View commit details
    Browse the repository at this point in the history