Enable consistent-type-imports eslint rule (#5205)

This commit is contained in:
Panu Horsmalahti authored and GitHub committed 2022-04-06 10:34:16 -04:00
1 parent 93a8d0f157
commit 1a29759bff
402 files changed
+991 -503

No files matched your search

@@ -4,7 +4,8 @@
*/
import { getInjectable } from "@ogre-tools/injectable";
import { computed } from "mobx";
import { Route, routeInjectionToken } from "../../route-injection-token";
import type { Route } from "../../route-injection-token";
import { routeInjectionToken } from "../../route-injection-token";
export interface CatalogPathParameters {
group?: string;
@@ -3,7 +3,8 @@
* Licensed under MIT License. See LICENSE in root directory for more information.
*/
import { getInjectable } from "@ogre-tools/injectable";
import catalogRouteInjectable, { CatalogPathParameters } from "./catalog-route.injectable";
import type { CatalogPathParameters } from "./catalog-route.injectable";
import catalogRouteInjectable from "./catalog-route.injectable";
import { navigateToRouteInjectionToken } from "../../navigate-to-route-injection-token";
export type NavigateToCatalog = (parameters?: CatalogPathParameters) => void;
@@ -4,7 +4,8 @@
*/
import { getInjectable } from "@ogre-tools/injectable";
import { computed } from "mobx";
import { Route, routeInjectionToken } from "../../../../route-injection-token";
import type { Route } from "../../../../route-injection-token";
import { routeInjectionToken } from "../../../../route-injection-token";
export interface CustomResourcesPathParameters {
group?: string;
@@ -3,7 +3,8 @@
* Licensed under MIT License. See LICENSE in root directory for more information.
*/
import { getInjectable } from "@ogre-tools/injectable";
import customResourcesRouteInjectable, { CustomResourcesPathParameters } from "./custom-resources-route.injectable";
import type { CustomResourcesPathParameters } from "./custom-resources-route.injectable";
import customResourcesRouteInjectable from "./custom-resources-route.injectable";
import { navigateToRouteInjectionToken } from "../../../../navigate-to-route-injection-token";
const navigateToCustomResourcesInjectable = getInjectable({
@@ -4,7 +4,8 @@
*/
import { getInjectable } from "@ogre-tools/injectable";
import { computed } from "mobx";
import { Route, routeInjectionToken } from "../../../../route-injection-token";
import type { Route } from "../../../../route-injection-token";
import { routeInjectionToken } from "../../../../route-injection-token";
export interface HelmChartsPathParameters {
repo?: string;
@@ -3,7 +3,8 @@
* Licensed under MIT License. See LICENSE in root directory for more information.
*/
import { getInjectable } from "@ogre-tools/injectable";
import helmChartsRouteInjectable, { HelmChartsPathParameters } from "./helm-charts-route.injectable";
import type { HelmChartsPathParameters } from "./helm-charts-route.injectable";
import helmChartsRouteInjectable from "./helm-charts-route.injectable";
import { navigateToRouteInjectionToken } from "../../../../navigate-to-route-injection-token";
export type NavigateToHelmCharts = (parameters?: HelmChartsPathParameters) => void;
@@ -4,7 +4,8 @@
*/
import { getInjectable } from "@ogre-tools/injectable";
import { computed } from "mobx";
import { Route, routeInjectionToken } from "../../../../route-injection-token";
import type { Route } from "../../../../route-injection-token";
import { routeInjectionToken } from "../../../../route-injection-token";
export interface HelmReleasesPathParameters {
namespace?: string;
@@ -3,7 +3,8 @@
* Licensed under MIT License. See LICENSE in root directory for more information.
*/
import { getInjectable } from "@ogre-tools/injectable";
import helmReleasesRouteInjectable, { HelmReleasesPathParameters } from "./helm-releases-route.injectable";
import type { HelmReleasesPathParameters } from "./helm-releases-route.injectable";
import helmReleasesRouteInjectable from "./helm-releases-route.injectable";
import { navigateToRouteInjectionToken } from "../../../../navigate-to-route-injection-token";
export type NavigateToHelmReleases = (parameters?: HelmReleasesPathParameters) => void;
@@ -3,7 +3,8 @@
* Licensed under MIT License. See LICENSE in root directory for more information.
*/
import { getInjectable } from "@ogre-tools/injectable";
import portForwardsRouteInjectable, { PortForwardsPathParameters } from "./port-forwards-route.injectable";
import type { PortForwardsPathParameters } from "./port-forwards-route.injectable";
import portForwardsRouteInjectable from "./port-forwards-route.injectable";
import { navigateToRouteInjectionToken } from "../../../../navigate-to-route-injection-token";
export type NavigateToPortForwards = (parameters?: PortForwardsPathParameters) => void;
@@ -4,7 +4,8 @@
*/
import { getInjectable } from "@ogre-tools/injectable";
import { computed } from "mobx";
import { Route, routeInjectionToken } from "../../../../route-injection-token";
import type { Route } from "../../../../route-injection-token";
import { routeInjectionToken } from "../../../../route-injection-token";
export interface PortForwardsPathParameters {
forwardport?: string;
@@ -4,7 +4,8 @@
*/
import { getInjectable } from "@ogre-tools/injectable";
import { computed } from "mobx";
import { Route, routeInjectionToken } from "../../route-injection-token";
import type { Route } from "../../route-injection-token";
import { routeInjectionToken } from "../../route-injection-token";
export interface EntitySettingsPathParameters {
entityId: string;