Rollup merge of #96835 - GuillaumeGomez:eslint-rules, r=notriddle

Add more eslint rules

Slowly continuing to enforce more rules with eslint.

Part of https://github.com/rust-lang/rust/issues/93058.

r? `@notriddle`
This commit is contained in:
Matthias Krüger 2022-05-08 21:31:20 +02:00 committed by GitHub
commit 43b3a491f5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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"],