about summary refs log tree commit diff
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume.gomez@huawei.com>2022-06-03 11:09:23 +0200
committerGuillaume Gomez <guillaume.gomez@huawei.com>2022-06-03 11:09:23 +0200
commite0cbac6a398b4d0aa73eb590f7fcd1460ef97050 (patch)
treef82e209b60de4e587e46bf071522ea1b1d8deac9
parent395a09c3dafe0c7838c9ca41d2b47bb5e79a5b6d (diff)
downloadrust-e0cbac6a398b4d0aa73eb590f7fcd1460ef97050.tar.gz
rust-e0cbac6a398b4d0aa73eb590f7fcd1460ef97050.zip
Add "no-fallthrough" 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 f66ecbf78af..cf99ed56de1 100644
--- a/src/librustdoc/html/static/.eslintrc.js
+++ b/src/librustdoc/html/static/.eslintrc.js
@@ -70,5 +70,6 @@ module.exports = {
         "no-dupe-keys": "error",
         "no-duplicate-case": "error",
         "no-ex-assign": "error",
+        "no-fallthrough": "error",
     }
 };