Skip to content

Commit e0cbac6

Browse files
Add "no-fallthrough" eslint rule
1 parent 395a09c commit e0cbac6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,5 +70,6 @@ module.exports = {
7070
"no-dupe-keys": "error",
7171
"no-duplicate-case": "error",
7272
"no-ex-assign": "error",
73+
"no-fallthrough": "error",
7374
}
7475
};

0 commit comments

Comments
 (0)