about summary refs log tree commit diff
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume.gomez@huawei.com>2022-05-25 13:58:42 +0200
committerGuillaume Gomez <guillaume.gomez@huawei.com>2022-05-25 13:58:42 +0200
commitbb29d5d6e0abbd028bfdecf36c399c1b1f44d1e5 (patch)
treea241a26f77dc8f9d626cc8b555f23491fe0a4e08
parent36d3c7e3c6b38bc65b405a36cdee6dc0f5fcf4e0 (diff)
downloadrust-bb29d5d6e0abbd028bfdecf36c399c1b1f44d1e5.tar.gz
rust-bb29d5d6e0abbd028bfdecf36c399c1b1f44d1e5.zip
Add new eslint rule "eol-last"
-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 6052444d97a..7afd09b34d3 100644
--- a/src/librustdoc/html/static/.eslintrc.js
+++ b/src/librustdoc/html/static/.eslintrc.js
@@ -53,5 +53,6 @@ module.exports = {
         "comma-dangle": ["error", "always-multiline"],
         "comma-style": ["error", "last"],
         "max-len": ["error", { "code": 100, "tabWidth": 4 }],
+        "eol-last": ["error", "always"],
     }
 };