node/tools/eslint-rules
Rich Trott 8ede3d5002 tools: lint rule for assert.fail()
`assert.fail()` is often mistakenly used with a single argument even in
Node.js core. (See fixes to previous instances in
b7f4b1ba4c,
28e9a022df. and
676e61872f54dd546e324599c7871c20b798386a.)

This commit adds a linting rule to identify instances of this issue.

PR-URL: https://github.com/nodejs/node/pull/6261
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Minwoo Jung <jmwsoft@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
2016-04-20 08:36:27 -07:00
..
align-multiline-assignment.js tools: lint for alignment of variable assignments 2016-04-18 17:19:16 -07:00
assert-fail-single-argument.js tools: lint rule for assert.fail() 2016-04-20 08:36:27 -07:00
buffer-constructor.js tools: add buffer-constructor eslint rule 2016-03-18 17:05:18 -07:00
new-with-error.js tools: remove obsolete lint rules 2016-02-18 10:13:03 -08:00
require-buffer.js tools: remove obsolete lint rules 2016-02-18 10:13:03 -08:00
required-modules.js tools: remove obsolete lint rules 2016-02-18 10:13:03 -08:00