node/tools/eslint-rules
Michaël Zasso 9f13b5f7d5
tools: forbid template literals in assert.throws
Extend the assert-throws-arguments custom ESLint rule to also check for
the use of template literals as a second argument to assert.throws.

PR-URL: https://github.com/nodejs/node/pull/10301
Ref: https://github.com/nodejs/node/pull/10282#discussion_r92607290
Reviewed-By: Prince John Wesley <princejohnwesley@gmail.com>
Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Roman Reiss <me@silverwind.io>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Italo A. Casas <me@italoacasas.com>
2017-01-31 20:04:31 -05:00
..
align-function-arguments.js tools: lint for function argument alignment 2016-06-23 17:26:37 -07:00
align-multiline-assignment.js tools: lint for alignment of variable assignments 2016-06-23 16:59:37 -07:00
assert-fail-single-argument.js tools: lint rule for assert.fail() 2016-05-17 17:24:50 -07:00
assert-throws-arguments.js tools: forbid template literals in assert.throws 2017-01-31 20:04:31 -05:00
new-with-error.js tools: remove obsolete lint rules 2016-03-02 14:01:11 -08:00
no-let-in-for-declaration.js tools: avoid let in for loops 2016-11-14 11:39:59 -05:00
require-buffer.js tools: remove obsolete lint rules 2016-03-02 14:01:11 -08:00
required-modules.js tools: remove obsolete lint rules 2016-03-02 14:01:11 -08:00