Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichaël Zasso <targos@protonmail.com>2017-04-07 17:18:02 +0300
committerMichaël Zasso <targos@protonmail.com>2017-04-13 12:31:54 +0300
commita4b9c585b33bfc0921a405fc54a8cb9783046b6d (patch)
tree0ad365d1bfbb91432f5f071040a80b10ac34256d /.eslintrc.yaml
parent9de2e159c4e83bea80c1d96abdabc6a69207344c (diff)
tools: enforce two arguments in assert.throws
Enables the requireTwo option of our custom rule. PR-URL: https://github.com/nodejs/node/pull/12270 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com>
Diffstat (limited to '.eslintrc.yaml')
-rw-r--r--.eslintrc.yaml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.eslintrc.yaml b/.eslintrc.yaml
index 630fd19688c..7468a234382 100644
--- a/.eslintrc.yaml
+++ b/.eslintrc.yaml
@@ -142,7 +142,7 @@ rules:
# Custom rules in tools/eslint-rules
align-multiline-assignment: 2
- assert-throws-arguments: [2, { requireTwo: false }]
+ assert-throws-arguments: [2, { requireTwo: true }]
no-unescaped-regexp-dot: 2
# Global scoped method and vars