TSLint: re-enable no-unenclosed-multiline-block rule

This commit is contained in:
glacambre 2019-04-04 06:47:14 +02:00
parent 8f77bdc0fe
commit c03b483261
No known key found for this signature in database
GPG key ID: B9625DB1767553AC
2 changed files with 2 additions and 2 deletions

View file

@ -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

View file

@ -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,