about summary refs log tree commit diff
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume.gomez@huawei.com>2022-06-06 14:00:43 +0200
committerGuillaume Gomez <guillaume.gomez@huawei.com>2022-06-06 14:00:43 +0200
commitb48bbd4e2f6c29493174f721850ff47379a1c982 (patch)
treefcd44b179620d780ba6f9d563bdaf0457a26e15e
parent0e66868138f9461edcb4de273792193d19d3f4b2 (diff)
downloadrust-b48bbd4e2f6c29493174f721850ff47379a1c982.tar.gz
rust-b48bbd4e2f6c29493174f721850ff47379a1c982.zip
Add "no-floating-decimal" 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 0d72aadbce1..2ffcbb82591 100644
--- a/src/librustdoc/html/static/.eslintrc.js
+++ b/src/librustdoc/html/static/.eslintrc.js
@@ -80,5 +80,6 @@ module.exports = {
         "no-alert": "error",
         "no-confusing-arrow": "error",
         "no-div-regex": "error",
+        "no-floating-decimal": "error",
     }
 };