about summary refs log tree commit diff
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume.gomez@huawei.com>2022-06-06 14:03:26 +0200
committerGuillaume Gomez <guillaume.gomez@huawei.com>2022-06-06 14:03:26 +0200
commitcd5e73be3f10e78fb603f7dd3c673e4959f0bed0 (patch)
tree419142c17684dec0908791755b9ebf44ba7e1ae1
parentd0909bdddc95558ae55f551eb1ae9c6fd825ee61 (diff)
downloadrust-cd5e73be3f10e78fb603f7dd3c673e4959f0bed0.tar.gz
rust-cd5e73be3f10e78fb603f7dd3c673e4959f0bed0.zip
Add "no-label-var" eslint check
-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 10c79a2042a..9088e06e508 100644
--- a/src/librustdoc/html/static/.eslintrc.js
+++ b/src/librustdoc/html/static/.eslintrc.js
@@ -83,5 +83,6 @@ module.exports = {
         "no-floating-decimal": "error",
         "no-implicit-globals": "error",
         "no-implied-eval": "error",
+        "no-label-var": "error",
     }
 };