diff options
| author | Michael Goulet <michael@errs.io> | 2022-05-29 16:25:04 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-05-29 16:25:04 -0700 |
| commit | 8e01595d9b4c5069a2616039b62719eeb8709fee (patch) | |
| tree | a91c2ac3676d1bbae59fa396f6b9b3bfed49a5c4 | |
| parent | f68c532e6f24e293d3c243559795dd9a51c95060 (diff) | |
| parent | f1a95b834c2d852428e72bf1a17ff99c2cfe605b (diff) | |
Rollup merge of #97530 - GuillaumeGomez:more-eslint-checks, r=jsha
Add more eslint checks Here is a new batch of eslint checks: * [no-const-assign](https://eslint.org/docs/rules/no-const-assign) * [no-debugger](https://eslint.org/docs/rules/no-debugger) * [no-dupe-args](https://eslint.org/docs/rules/no-dupe-args) * [no-duple-else-if](https://eslint.org/docs/rules/no-dupe-else-if) * [no-dupe-keys](https://eslint.org/docs/rules/no-dupe-keys) * [no-duplicate-case](https://eslint.org/docs/rules/no-duplicate-case) * [no-ex-assign](https://eslint.org/docs/rules/no-ex-assign) r? ``@notriddle``
| -rw-r--r-- | src/librustdoc/html/static/.eslintrc.js | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/librustdoc/html/static/.eslintrc.js b/src/librustdoc/html/static/.eslintrc.js index 997def1657f..f66ecbf78af 100644 --- a/src/librustdoc/html/static/.eslintrc.js +++ b/src/librustdoc/html/static/.eslintrc.js @@ -63,5 +63,12 @@ module.exports = { } ], "eqeqeq": "error", + "no-const-assign": "error", + "no-debugger": "error", + "no-dupe-args": "error", + "no-dupe-else-if": "error", + "no-dupe-keys": "error", + "no-duplicate-case": "error", + "no-ex-assign": "error", } }; |
