]> git.lizzy.rs Git - rust.git/commitdiff
Add "no-floating-decimal" eslint check
authorGuillaume Gomez <guillaume.gomez@huawei.com>
Mon, 6 Jun 2022 12:00:43 +0000 (14:00 +0200)
committerGuillaume Gomez <guillaume.gomez@huawei.com>
Mon, 6 Jun 2022 12:00:43 +0000 (14:00 +0200)
src/librustdoc/html/static/.eslintrc.js

index 0d72aadbce1428528d615d545c2efcdd5690f056..2ffcbb82591148dfbbb92f563c7f3b8930076d94 100644 (file)
@@ -80,5 +80,6 @@ module.exports = {
         "no-alert": "error",
         "no-confusing-arrow": "error",
         "no-div-regex": "error",
+        "no-floating-decimal": "error",
     }
 };