diff --git a/src/librustdoc/html/static/.eslintrc.js b/src/librustdoc/html/static/.eslintrc.js index 5fcffe715b12f..52577b228aa13 100644 --- a/src/librustdoc/html/static/.eslintrc.js +++ b/src/librustdoc/html/static/.eslintrc.js @@ -21,6 +21,11 @@ module.exports = { "error", "double" ], + "linebreak-style": [ + "error", + "unix" + ], + "no-trailing-spaces": "error", "no-var": ["error"], "prefer-const": ["error"], "prefer-arrow-callback": ["error"],