about summary refs log tree commit diff
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume.gomez@huawei.com>2022-05-29 21:42:11 +0200
committerGuillaume Gomez <guillaume.gomez@huawei.com>2022-05-29 21:42:26 +0200
commit88c3d707a6e7869d2a80dbcdc923a535f095641f (patch)
treea39a3bfeaee5e525d97ce63fbe92ce1557ac0acb
parent397ad826b07576c5ce928bc63065a5758db12d54 (diff)
downloadrust-88c3d707a6e7869d2a80dbcdc923a535f095641f.tar.gz
rust-88c3d707a6e7869d2a80dbcdc923a535f095641f.zip
Add "no-dupe-keys" eslint rule
-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 35a1a27db91..f98a6c01fe9 100644
--- a/src/librustdoc/html/static/.eslintrc.js
+++ b/src/librustdoc/html/static/.eslintrc.js
@@ -67,5 +67,6 @@ module.exports = {
         "no-debugger": "error",
         "no-dupe-args": "error",
         "no-dupe-else-if": "error",
+        "no-dupe-keys": "error",
     }
 };