Skip to content

Commit c82bc1e

Browse files
authored
Rollup merge of #97990 - GuillaumeGomez:eslint-checks, r=Dylan-DPC
Add more eslint checks List of newly added checks: * [no-lonely-if](https://eslint.org/docs/rules/no-lonely-if) * [no-mixed-operators](https://eslint.org/docs/rules/no-mixed-operators) * [no-multi-assign](https://eslint.org/docs/rules/no-multi-assign) * [no-return-assign](https://eslint.org/docs/rules/no-return-assign) * [no-script-url](https://eslint.org/docs/rules/no-script-url) r? `@Dylan-DPC`
2 parents b3d8e71 + fb68e0b commit c82bc1e

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,5 +84,10 @@ module.exports = {
8484
"no-implicit-globals": "error",
8585
"no-implied-eval": "error",
8686
"no-label-var": "error",
87+
"no-lonely-if": "error",
88+
"no-mixed-operators": "error",
89+
"no-multi-assign": "error",
90+
"no-return-assign": "error",
91+
"no-script-url": "error",
8792
}
8893
};

0 commit comments

Comments
 (0)