mirror of
https://github.com/nodejs/node.git
synced 2026-11-09 15:11:11 -05:00
`assert.fail()` is often mistakenly used with a single argument even in Node.js core. (See fixes to previous instances inb7f4b1ba4c,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>