about summary refs log tree commit diff
path: root/src/librustdoc/html
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume.gomez@huawei.com>2022-05-20 17:04:21 +0200
committerGuillaume Gomez <guillaume.gomez@huawei.com>2022-05-20 20:27:34 +0200
commitb036fd378b55dcf42c72b9db6e2bcbaeeb4dfdf0 (patch)
treec2ef4901ef0ed4fadbfe3b5d77b74b518513cafb /src/librustdoc/html
parentb5caa5a8421f84cb7664f999b7635801bcf3f96a (diff)
downloadrust-b036fd378b55dcf42c72b9db6e2bcbaeeb4dfdf0.tar.gz
rust-b036fd378b55dcf42c72b9db6e2bcbaeeb4dfdf0.zip
Add eslint arrow-spacing check
Diffstat (limited to 'src/librustdoc/html')
-rw-r--r--src/librustdoc/html/static/.eslintrc.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/librustdoc/html/static/.eslintrc.js b/src/librustdoc/html/static/.eslintrc.js
index 9d4c45b8a62..6b63e3b714a 100644
--- a/src/librustdoc/html/static/.eslintrc.js
+++ b/src/librustdoc/html/static/.eslintrc.js
@@ -38,5 +38,9 @@ module.exports = {
             "error",
             { "before": true, "after": true }
         ],
+        "arrow-spacing": [
+            "error",
+            { "before": true, "after": true }
+        ],
     }
 };