Skip to content

Commit

Permalink
Rollup merge of #96835 - GuillaumeGomez:eslint-rules, r=notriddle
Browse files Browse the repository at this point in the history
Add more eslint rules

Slowly continuing to enforce more rules with eslint.

Part of #93058.

r? `@notriddle`
  • Loading branch information
matthiaskrgr committed May 8, 2022
2 parents 4c162a1 + 1e93165 commit 43b3a49
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/librustdoc/html/static/.eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -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"],
Expand Down

0 comments on commit 43b3a49

Please sign in to comment.