TSLint: re-enable no-unused-expression rule

This commit is contained in:
glacambre 2019-04-04 06:54:11 +02:00
parent c03b483261
commit b70832ef40
No known key found for this signature in database
GPG key ID: B9625DB1767553AC
2 changed files with 6 additions and 4 deletions

View file

@ -2785,11 +2785,15 @@ export async function clipboard(excmd: "open" | "yank" | "yankshort" | "yankcano
break
case "open":
url = await getclip()
url && open(url)
if (url) {
open(url)
}
break
case "tabopen":
url = await getclip()
url && tabopen(url)
if (url) {
tabopen(url)
}
break
case "xselpaste":
content = await getclip("selection")

View file

@ -27,9 +27,7 @@
"no-string-throw": false,
"no-trailing-whitespace": false,
"no-unnecessary-initializer": false,
"no-unnecessary-type-assertion": false,
"no-unsafe-finally": false,
"no-unused-expression": false,
"no-useless-cast": false,
"no-useless-catch": false,
"no-useless-catch": false,