mirror of
https://github.com/bitwarden/browser
synced 2025-12-12 14:23:32 +00:00
[SM-204] Add the curly eslint rule (#3464)
This commit is contained in:
@@ -64,6 +64,7 @@
|
||||
"message": "Calling `svgIcon` directly is not allowed",
|
||||
"selector": "CallExpression[callee.name='svgIcon']"
|
||||
}
|
||||
]
|
||||
],
|
||||
"curly": ["error", "all"]
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,7 +1,9 @@
|
||||
window.addEventListener(
|
||||
"message",
|
||||
(event) => {
|
||||
if (event.source !== window) return;
|
||||
if (event.source !== window) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (event.data.command && event.data.command === "authResult") {
|
||||
chrome.runtime.sendMessage({
|
||||
|
||||
Reference in New Issue
Block a user