summaryrefslogtreecommitdiff
path: root/test/.eslintrc.yaml
diff options
context:
space:
mode:
authorGus Caplan <me@gus.host>2018-07-07 23:32:23 -0500
committerGus Caplan <me@gus.host>2018-07-12 16:11:11 -0500
commit8cae9b2ff808198b4451d9de634320fa5750c4cd (patch)
tree40b8264e77fefec5a9dba3c0d646483b8260cf3a /test/.eslintrc.yaml
parent1849a2b2e98c093e27d781bd5040f76a22e8f977 (diff)
downloadandroid-node-v8-8cae9b2ff808198b4451d9de634320fa5750c4cd.tar.gz
android-node-v8-8cae9b2ff808198b4451d9de634320fa5750c4cd.tar.bz2
android-node-v8-8cae9b2ff808198b4451d9de634320fa5750c4cd.zip
tools: add no-duplicate-requires rule
PR-URL: https://github.com/nodejs/node/pull/21712 Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com> Reviewed-By: Weijia Wang <starkwang@126.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Jon Moss <me@jonathanmoss.me>
Diffstat (limited to 'test/.eslintrc.yaml')
-rw-r--r--test/.eslintrc.yaml1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/.eslintrc.yaml b/test/.eslintrc.yaml
index c57d7505c9..25026fec5a 100644
--- a/test/.eslintrc.yaml
+++ b/test/.eslintrc.yaml
@@ -18,6 +18,7 @@ rules:
node-core/number-isnan: error
## common module is mandatory in tests
node-core/required-modules: [error, common]
+ node-core/no-duplicate-requires: off
no-restricted-syntax:
# Config copied from .eslintrc.js