From d4dfdea05089be2699050761add6dc21db153c1d Mon Sep 17 00:00:00 2001 From: hensm Date: Wed, 25 Sep 2019 19:32:18 +0100 Subject: [PATCH] TSLint compliance --- app/src/bridge/index.ts | 2 +- app/tsconfig.json | 2 +- app/tslint.json | 2 +- ext/src/ui/options/index.tsx | 4 ++-- ext/tsconfig.json | 2 +- ext/tslint.json | 2 +- common/tsconfig.json => tsconfig.json | 0 common/tslint.json => tslint.json | 0 8 files changed, 7 insertions(+), 7 deletions(-) rename common/tsconfig.json => tsconfig.json (100%) rename common/tslint.json => tslint.json (100%) diff --git a/app/src/bridge/index.ts b/app/src/bridge/index.ts index 6550572..4ed4285 100755 --- a/app/src/bridge/index.ts +++ b/app/src/bridge/index.ts @@ -83,7 +83,7 @@ process.on("SIGTERM", () => { } if (receiverSelectorApp && !receiverSelectorAppClosed) { - receiverSelectorApp.kill() + receiverSelectorApp.kill(); } browser.stop(); diff --git a/app/tsconfig.json b/app/tsconfig.json index 7fa281f..72c0df6 100644 --- a/app/tsconfig.json +++ b/app/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../common/tsconfig" + "extends": "../tsconfig" , "include": [ "./src/**/*" , "./@types/**/*" diff --git a/app/tslint.json b/app/tslint.json index 2df5ee8..aa5f8cd 100644 --- a/app/tslint.json +++ b/app/tslint.json @@ -1,5 +1,5 @@ { "extends": [ - "../common/tslint.json" + "../tslint.json" ] } diff --git a/ext/src/ui/options/index.tsx b/ext/src/ui/options/index.tsx index 1a5f7c1..9954e7a 100644 --- a/ext/src/ui/options/index.tsx +++ b/ext/src/ui/options/index.tsx @@ -37,7 +37,7 @@ browser.runtime.getPlatformInfo() const input = document.createElement("input"); const inputWrapper = document.createElement("div"); - inputWrapper.append(input) + inputWrapper.append(input); document.documentElement.append(inputWrapper); input.type = "text"; @@ -55,7 +55,7 @@ browser.runtime.getPlatformInfo() } `; - document.body.append(style) + document.body.append(style); } break; diff --git a/ext/tsconfig.json b/ext/tsconfig.json index 143ccd5..044a820 100644 --- a/ext/tsconfig.json +++ b/ext/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../common/tsconfig" + "extends": "../tsconfig" , "compilerOptions": { "jsx": "react" , "lib": [ "esnext", "dom" ] diff --git a/ext/tslint.json b/ext/tslint.json index eda91d2..8057952 100644 --- a/ext/tslint.json +++ b/ext/tslint.json @@ -1,6 +1,6 @@ { "extends": [ - "../common/tslint.json" + "../tslint.json" ] , "rules": { "no-bitwise": false diff --git a/common/tsconfig.json b/tsconfig.json similarity index 100% rename from common/tsconfig.json rename to tsconfig.json diff --git a/common/tslint.json b/tslint.json similarity index 100% rename from common/tslint.json rename to tslint.json