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-25 13:53:19 +0200
committerGuillaume Gomez <guillaume.gomez@huawei.com>2022-05-25 13:53:19 +0200
commit231b47b2b93c538f32cce0103e883916431ff845 (patch)
tree461230049018bd641e6684663f74acc14cb5f434 /src/librustdoc/html
parent7f997f589f4e0b1c59a3680e7a8dd941d3ada518 (diff)
downloadrust-231b47b2b93c538f32cce0103e883916431ff845.tar.gz
rust-231b47b2b93c538f32cce0103e883916431ff845.zip
Add eslint rule "space-infix-ops"
Diffstat (limited to 'src/librustdoc/html')
-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 bf962303b3a..85a34767b77 100644
--- a/src/librustdoc/html/static/.eslintrc.js
+++ b/src/librustdoc/html/static/.eslintrc.js
@@ -47,5 +47,6 @@ module.exports = {
             { "beforeColon": false, "afterColon": true, "mode": "strict" }
         ],
         "func-call-spacing": ["error", "never"],
+        "space-infix-ops": "error",
     }
 };