Skip to content

Commit 67337a0

Browse files
committed
Address ESLint no-fallthrough
1 parent 8753095 commit 67337a0

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

ui/frontend/eslint.config.mjs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,6 @@ export default tseslint.config(
6060
...reactHooksPlugin.configs.recommended.rules,
6161

6262
// Disabled to upgrade to eslint 9
63-
'no-fallthrough': 'off',
6463
'@typescript-eslint/no-empty-object-type': 'off',
6564
},
6665
},

ui/frontend/reducers/notifications.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,11 @@ const slice = createSlice({
3434
switch (action.payload) {
3535
case Notification.DarkMode: {
3636
state.seenDarkMode = true;
37+
break;
3738
}
3839
case Notification.RustSurvey2023: {
3940
state.seenRustSurvey2023 = true;
41+
break;
4042
}
4143
}
4244
},

0 commit comments

Comments
 (0)