mirror of
https://github.com/vale981/tridactyl
synced 2025-03-04 17:11:40 -05:00
TSLint: re-enable no-unenclosed-multiline-block rule
This commit is contained in:
parent
8f77bdc0fe
commit
c03b483261
2 changed files with 2 additions and 2 deletions
|
@ -1,8 +1,9 @@
|
|||
/** Content script entry point */
|
||||
|
||||
// We need to grab a lock because sometimes Firefox will decide to insert the content script in the page multiple times
|
||||
if ((window as any).tridactyl_content_lock !== undefined)
|
||||
if ((window as any).tridactyl_content_lock !== undefined) {
|
||||
throw Error("Trying to load Tridactyl, but it's already loaded.")
|
||||
}
|
||||
;(window as any).tridactyl_content_lock = "locked"
|
||||
|
||||
// Be careful: typescript elides imports that appear not to be used if they're
|
||||
|
|
|
@ -26,7 +26,6 @@
|
|||
"no-shadowed-variable": false,
|
||||
"no-string-throw": false,
|
||||
"no-trailing-whitespace": false,
|
||||
"no-unenclosed-multiline-block": false,
|
||||
"no-unnecessary-initializer": false,
|
||||
"no-unnecessary-type-assertion": false,
|
||||
"no-unsafe-finally": false,
|
||||
|
|
Loading…
Add table
Reference in a new issue