From b7e51163755f2f57de5c906f361b0686f6bfb1a5 Mon Sep 17 00:00:00 2001 From: Guillaume Gomez Date: Sun, 8 May 2022 14:07:25 +0200 Subject: [PATCH] Enforce linebreak style in js source code --- src/librustdoc/html/static/.eslintrc.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/librustdoc/html/static/.eslintrc.js b/src/librustdoc/html/static/.eslintrc.js index 5fcffe715b12f..f6f0545f3bb4a 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"],