diff options
| author | Guillaume Gomez <guillaume.gomez@huawei.com> | 2022-05-08 14:08:33 +0200 |
|---|---|---|
| committer | Guillaume Gomez <guillaume.gomez@huawei.com> | 2022-05-08 14:08:33 +0200 |
| commit | 1e93165b052814f87b0bbdb84c6db769297d8621 (patch) | |
| tree | 619ee124a0a35a41ce639dd088e35f1f86e3a665 | |
| parent | b7e51163755f2f57de5c906f361b0686f6bfb1a5 (diff) | |
| download | rust-1e93165b052814f87b0bbdb84c6db769297d8621.tar.gz rust-1e93165b052814f87b0bbdb84c6db769297d8621.zip | |
Enforce no trailing spaces with eslint
| -rw-r--r-- | src/librustdoc/html/static/.eslintrc.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/librustdoc/html/static/.eslintrc.js b/src/librustdoc/html/static/.eslintrc.js index f6f0545f3bb..52577b228aa 100644 --- a/src/librustdoc/html/static/.eslintrc.js +++ b/src/librustdoc/html/static/.eslintrc.js @@ -25,6 +25,7 @@ module.exports = { "error", "unix" ], + "no-trailing-spaces": "error", "no-var": ["error"], "prefer-const": ["error"], "prefer-arrow-callback": ["error"], |
