Skip to content

Commit dfceb61

Browse files
committed
Fixed #133
1 parent f342697 commit dfceb61

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

Diff for: .eslintrc.js

+1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ module.exports = {
1212
sourceType: 'module',
1313
},
1414
rules: {
15+
'no-fallthrough': 2,
1516
// https://github.com/benmosher/eslint-plugin-import/blob/HEAD/docs/rules/order.md
1617
'import/order': [
1718
'error',

Diff for: src/background.ts

+1
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ browser.runtime.onMessage.addListener(async (msg: Message, sender) => {
6868
type: Event.SEND_OPTIONS,
6969
data: { ...options, i18nMap },
7070
});
71+
return;
7172
}
7273
case Event.POPUP_ACTIVE: {
7374
if (data === true) {

0 commit comments

Comments
 (0)