lint also dashboard app automatically

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
This commit is contained in:
Jari Kolehmainen committed 2020-06-26 09:03:02 +03:00
1 parent e468105143
commit 49c1281aaa
5 files changed
+7 -3

No files matched your search

+3
View File
@@ -69,6 +69,9 @@ module.exports = {
"@typescript-eslint/no-empty-interface": "off",
"@typescript-eslint/no-var-requires": "off",
"@typescript-eslint/ban-ts-ignore": "off",
"@typescript-eslint/explicit-module-boundary-types": "off",
"@typescript-eslint/ban-types": "off",
"@typescript-eslint/no-empty-function": "off",
"indent": ["error", 2]
},
}
+1
View File
@@ -28,6 +28,7 @@ integration-win:
lint:
yarn lint
yarn lint-dashboard
test-app:
yarn test
+1 -1
View File
@@ -173,7 +173,7 @@ export class Pod extends WorkloadKubeObject {
};
configMap: {
name: string;
}
};
secret: {
secretName: string;
defaultMode: number;
@@ -81,7 +81,7 @@ export class Workloads extends React.Component<Props> {
})
}
return routes;
};
}
render() {
const tabRoutes = Workloads.tabRoutes;
+1 -1
View File
@@ -44,7 +44,7 @@ class App extends React.Component {
// render app
render(<App/>, App.rootElem);
};
}
render() {
const homeUrl = (isAllowedResource(["events", "nodes", "pods"])) ? clusterURL() : workloadsURL();