Turn on noUnusedLocals, noImplicitReturns, importsNotUsedAsValues: error, and isolatedModules (#2777)

This commit is contained in:
Sebastian Malton authored and GitHub committed 2021-05-19 12:11:54 -04:00
1 parent 489cef9595
commit 5ed4537979
287 files changed
+704 -628

No files matched your search

+1 -1
View File
@@ -22,7 +22,7 @@
// Fix embedded kubeconfig paths under snap config
import { migration } from "../migration-wrapper";
import { ClusterModel } from "../../common/cluster-store";
import type { ClusterModel } from "../../common/cluster-store";
import { getAppVersion } from "../../common/utils/app-version";
import fs from "fs";
+1 -1
View File
@@ -20,7 +20,7 @@
*/
// Cleans up a store that had the state related data stored
import { Hotbar } from "../../common/hotbar-store";
import type { Hotbar } from "../../common/hotbar-store";
import { ClusterStore } from "../../common/cluster-store";
import { migration } from "../migration-wrapper";
import { v4 as uuid } from "uuid";
+1 -1
View File
@@ -20,7 +20,7 @@
*/
// Cleans up a store that had the state related data stored
import { Hotbar } from "../../common/hotbar-store";
import type { Hotbar } from "../../common/hotbar-store";
import { migration } from "../migration-wrapper";
import * as uuid from "uuid";
+1 -1
View File
@@ -19,7 +19,7 @@
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
import Config from "conf";
import type Config from "conf";
import { isTestEnv } from "../common/vars";
export interface MigrationOpts {