]> git.lizzy.rs Git - rust.git/commitdiff
Add "no-const-assign" eslint rule
authorGuillaume Gomez <guillaume.gomez@huawei.com>
Sun, 29 May 2022 19:38:52 +0000 (21:38 +0200)
committerGuillaume Gomez <guillaume.gomez@huawei.com>
Sun, 29 May 2022 19:38:52 +0000 (21:38 +0200)
src/librustdoc/html/static/.eslintrc.js

index 997def1657fa04676ab6c5e3349f562d81d83db7..651aacec5131b9266f403f9915e738a7b275de7a 100644 (file)
@@ -63,5 +63,6 @@ module.exports = {
             }
         ],
         "eqeqeq": "error",
+        "no-const-assign": "error",
     }
 };