about summary refs log tree commit diff
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume.gomez@huawei.com>2022-05-29 21:43:37 +0200
committerGuillaume Gomez <guillaume.gomez@huawei.com>2022-05-29 21:43:37 +0200
commitd39703a6c53a78d477360a15ffd36921449fee93 (patch)
tree90b470519a90b009bce3bd464facd78b9e6cfd57
parent88c3d707a6e7869d2a80dbcdc923a535f095641f (diff)
downloadrust-d39703a6c53a78d477360a15ffd36921449fee93.tar.gz
rust-d39703a6c53a78d477360a15ffd36921449fee93.zip
Add "no-duplicate-case" 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 f98a6c01fe9..f153c9a714f 100644
--- a/src/librustdoc/html/static/.eslintrc.js
+++ b/src/librustdoc/html/static/.eslintrc.js
@@ -68,5 +68,6 @@ module.exports = {
         "no-dupe-args": "error",
         "no-dupe-else-if": "error",
         "no-dupe-keys": "error",
+        "no-duplicate-case": "error",
     }
 };