diff --git a/.eslintrc.js b/.eslintrc.js index 864626a72a..efc6865e95 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -74,7 +74,7 @@ module.exports = { "@typescript-eslint/ban-ts-ignore": "off", "@typescript-eslint/explicit-module-boundary-types": "off", "@typescript-eslint/ban-types": "off", - "@typescript-eslint/no-empty-interface": "off", + "@typescript-eslint/no-empty-function": "off", "indent": ["error", 2] }, } diff --git a/Makefile b/Makefile index 8a2cab3d51..950f77ea84 100644 --- a/Makefile +++ b/Makefile @@ -9,14 +9,11 @@ endif download-bins: yarn download-bins -install-deps: - yarn install --frozen-lockfile - compile-dev: yarn compile:main --cache yarn compile:renderer --cache -dev: install-deps compile-dev +dev: app-deps compile-dev yarn dev # run electron and watch files lint: @@ -37,7 +34,18 @@ integration-win: yarn build:win yarn integration -build: install-deps +lint: + yarn lint + yarn lint-dashboard + +test-app: + yarn test + +app-deps: + yarn install --frozen-lockfile + +build: app-deps + yarn install ifeq "$(DETECTED_OS)" "Windows" yarn dist:win else diff --git a/src/renderer/api/endpoints/pods.api.ts b/src/renderer/api/endpoints/pods.api.ts index 2cc1ebf1a7..201f1e1751 100644 --- a/src/renderer/api/endpoints/pods.api.ts +++ b/src/renderer/api/endpoints/pods.api.ts @@ -173,7 +173,7 @@ export class Pod extends WorkloadKubeObject { }; configMap: { name: string; - } + }; secret: { secretName: string; defaultMode: number;