about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume.gomez@huawei.com>2022-05-29 21:40:16 +0200
committerGuillaume Gomez <guillaume.gomez@huawei.com>2022-05-29 21:40:16 +0200
commit9f79a03ca507e2aa319f3dd9c9dac6faa568bc22 (patch)
treeaaabb39f8885bd5337900286dac4992c1e291012 /src
parent4bb728da799f9d2332d14a3790637366bb269d5a (diff)
downloadrust-9f79a03ca507e2aa319f3dd9c9dac6faa568bc22.tar.gz
rust-9f79a03ca507e2aa319f3dd9c9dac6faa568bc22.zip
Add "no-dup-args" eslint rule
Diffstat (limited to 'src')
-rw-r--r--src/librustdoc/html/static/.eslintrc.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/librustdoc/html/static/.eslintrc.js b/src/librustdoc/html/static/.eslintrc.js
index 7d7affded7e..b83c1a2459a 100644
--- a/src/librustdoc/html/static/.eslintrc.js
+++ b/src/librustdoc/html/static/.eslintrc.js
@@ -65,5 +65,6 @@ module.exports = {
         "eqeqeq": "error",
         "no-const-assign": "error",
         "no-debugger": "error",
+        "no-dupe-args": "error",
     }
 };