diff options
| author | Guillaume Gomez <guillaume.gomez@huawei.com> | 2022-05-08 14:07:25 +0200 |
|---|---|---|
| committer | Guillaume Gomez <guillaume.gomez@huawei.com> | 2022-05-08 14:07:25 +0200 |
| commit | b7e51163755f2f57de5c906f361b0686f6bfb1a5 (patch) | |
| tree | b2286990155d02cec66ed863ad6026c3c1df5b3e | |
| parent | 4c09a3345ab10b9a10a284cea1a1f3673bc9a414 (diff) | |
| download | rust-b7e51163755f2f57de5c906f361b0686f6bfb1a5.tar.gz rust-b7e51163755f2f57de5c906f361b0686f6bfb1a5.zip | |
Enforce linebreak style in js source code
| -rw-r--r-- | src/librustdoc/html/static/.eslintrc.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/librustdoc/html/static/.eslintrc.js b/src/librustdoc/html/static/.eslintrc.js index 5fcffe715b1..f6f0545f3bb 100644 --- a/src/librustdoc/html/static/.eslintrc.js +++ b/src/librustdoc/html/static/.eslintrc.js @@ -21,6 +21,10 @@ module.exports = { "error", "double" ], + "linebreak-style": [ + "error", + "unix" + ], "no-var": ["error"], "prefer-const": ["error"], "prefer-arrow-callback": ["error"], |
