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

tools,test: enforce assert.ifError with lint rule #10671

Closed

Commits on Jan 7, 2017

  1. tools,test: enforce assert.ifError with lint rule

    This adds an ESLint rule to enforce the use of `assert.ifError(err)`
    instead of `if (err) throw err;` in tests.
    
    Refs: nodejs#10543
    not-an-aardvark committed Jan 7, 2017
    Configuration menu
    Copy the full SHA
    ef5b150 View commit details
    Browse the repository at this point in the history