about summary refs log tree commit diff
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume.gomez@huawei.com>2022-06-03 11:16:23 +0200
committerGuillaume Gomez <guillaume.gomez@huawei.com>2022-06-03 11:16:23 +0200
commit72bd8e49964146fe803ecdcc25de9ef1cf37beda (patch)
tree3a6be0ef13c2e00f06c388c44c6ef3c8f260e12c
parent584eec6c26eb2c1058cf70f25b0a3a64b598d456 (diff)
downloadrust-72bd8e49964146fe803ecdcc25de9ef1cf37beda.tar.gz
rust-72bd8e49964146fe803ecdcc25de9ef1cf37beda.zip
Add "no-template-curly-in-string" eslint rule
-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 ff97e74759f..fa1ff41b9a5 100644
--- a/src/librustdoc/html/static/.eslintrc.js
+++ b/src/librustdoc/html/static/.eslintrc.js
@@ -74,5 +74,6 @@ module.exports = {
         "no-invalid-regexp": "error",
         "no-import-assign": "error",
         "no-self-compare": "error",
+        "no-template-curly-in-string": "error",
     }
 };