Skip to content

Commit 43b3a49

Browse files
authored
Rollup merge of #96835 - GuillaumeGomez:eslint-rules, r=notriddle
Add more eslint rules Slowly continuing to enforce more rules with eslint. Part of #93058. r? `@notriddle`
2 parents 4c162a1 + 1e93165 commit 43b3a49

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/librustdoc/html/static/.eslintrc.js

+5
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,11 @@ module.exports = {
2121
"error",
2222
"double"
2323
],
24+
"linebreak-style": [
25+
"error",
26+
"unix"
27+
],
28+
"no-trailing-spaces": "error",
2429
"no-var": ["error"],
2530
"prefer-const": ["error"],
2631
"prefer-arrow-callback": ["error"],

0 commit comments

Comments
 (0)