diff options
author | Rich Trott <rtrott@gmail.com> | 2017-04-12 13:37:11 -0700 |
---|---|---|
committer | Rich Trott <rtrott@gmail.com> | 2017-04-12 14:25:29 -0700 |
commit | 6f202ef85710374a832cb38701302d999b18fe5f (patch) | |
tree | 1af8d6b654c1b9283288604a338d7cc32ddd6d7f /.eslintrc.yaml | |
parent | 758b8b6e5d1aa171827759e51847bcc4f2eea7a3 (diff) | |
download | node-new-6f202ef85710374a832cb38701302d999b18fe5f.tar.gz |
tools: remove assert.fail() lint rule
assert.fail() has been updated to accept a single argument so that is no
longer an error. Remove lint rule that checks for assert.fail() with a
single argument.
PR-URL: https://github.com/nodejs/node/pull/12293
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Michaƫl Zasso <targos@protonmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to '.eslintrc.yaml')
-rw-r--r-- | .eslintrc.yaml | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/.eslintrc.yaml b/.eslintrc.yaml index 9190475e9b..630fd19688 100644 --- a/.eslintrc.yaml +++ b/.eslintrc.yaml @@ -110,9 +110,6 @@ rules: }, { selector: "ThrowStatement > CallExpression[callee.name=/Error$/]", message: "Use new keyword when throwing an Error." - }, { - selector: "CallExpression[callee.object.name='assert'][callee.property.name='fail'][arguments.length=1]", - message: "assert.fail() message should be third argument" }] no-tabs: 2 no-trailing-spaces: 2 |