diff options
| author | Guillaume Gomez <guillaume.gomez@huawei.com> | 2022-06-03 11:09:23 +0200 |
|---|---|---|
| committer | Guillaume Gomez <guillaume.gomez@huawei.com> | 2022-06-03 11:09:23 +0200 |
| commit | e0cbac6a398b4d0aa73eb590f7fcd1460ef97050 (patch) | |
| tree | f82e209b60de4e587e46bf071522ea1b1d8deac9 | |
| parent | 395a09c3dafe0c7838c9ca41d2b47bb5e79a5b6d (diff) | |
| download | rust-e0cbac6a398b4d0aa73eb590f7fcd1460ef97050.tar.gz rust-e0cbac6a398b4d0aa73eb590f7fcd1460ef97050.zip | |
Add "no-fallthrough" eslint rule
| -rw-r--r-- | src/librustdoc/html/static/.eslintrc.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/librustdoc/html/static/.eslintrc.js b/src/librustdoc/html/static/.eslintrc.js index f66ecbf78af..cf99ed56de1 100644 --- a/src/librustdoc/html/static/.eslintrc.js +++ b/src/librustdoc/html/static/.eslintrc.js @@ -70,5 +70,6 @@ module.exports = { "no-dupe-keys": "error", "no-duplicate-case": "error", "no-ex-assign": "error", + "no-fallthrough": "error", } }; |
