Skip to content

Commit 648e87f

Browse files
committed
chore(packages): enforce consistent-type-imports
1 parent 383fdc2 commit 648e87f

File tree

356 files changed

+670
-521
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

356 files changed

+670
-521
lines changed

.changeset/slow-flowers-hang.md

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
---
2+
"@smithy/service-client-documentation-generator": patch
3+
"@smithy/eventstream-serde-config-resolver": patch
4+
"@smithy/experimental-identity-and-auth": patch
5+
"@smithy/middleware-apply-body-checksum": patch
6+
"@smithy/service-error-classification": patch
7+
"@smithy/eventstream-serde-universal": patch
8+
"@smithy/eventstream-serde-browser": patch
9+
"@smithy/middleware-content-length": patch
10+
"@smithy/credential-provider-imds": patch
11+
"@smithy/util-defaults-mode-node": patch
12+
"@smithy/eventstream-serde-node": patch
13+
"@smithy/middleware-compression": patch
14+
"@smithy/shared-ini-file-loader": patch
15+
"@smithy/node-config-provider": patch
16+
"@smithy/util-config-provider": patch
17+
"@smithy/middleware-endpoint": patch
18+
"@smithy/querystring-builder": patch
19+
"@smithy/util-stream-browser": patch
20+
"@smithy/fetch-http-handler": patch
21+
"@smithy/invalid-dependency": patch
22+
"@smithy/querystring-parser": patch
23+
"@smithy/eventstream-codec": patch
24+
"@smithy/hash-blob-browser": patch
25+
"@smithy/node-http-handler": patch
26+
"@smithy/property-provider": patch
27+
"@smithy/hash-stream-node": patch
28+
"@smithy/middleware-retry": patch
29+
"@smithy/middleware-serde": patch
30+
"@smithy/middleware-stack": patch
31+
"@smithy/util-stream-node": patch
32+
"@smithy/config-resolver": patch
33+
"@smithy/util-middleware": patch
34+
"@smithy/util-endpoints": patch
35+
"@smithy/protocol-http": patch
36+
"@smithy/signature-v4a": patch
37+
"@smithy/smithy-client": patch
38+
"@smithy/signature-v4": patch
39+
"@smithy/util-stream": patch
40+
"@smithy/util-waiter": patch
41+
"@smithy/url-parser": patch
42+
"@smithy/util-retry": patch
43+
"@smithy/hash-node": patch
44+
"@smithy/md5-js": patch
45+
"@smithy/types": patch
46+
"@smithy/core": patch
47+
---
48+
49+
enforce consistent-type-imports

.eslintrc.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,5 +34,6 @@ module.exports = {
3434

3535
/** Errors */
3636
"simple-import-sort/imports": "error",
37+
"@typescript-eslint/consistent-type-imports": "error",
3738
},
3839
};

packages/config-resolver/src/endpointsConfig/NodeUseDualstackEndpointConfigOptions.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { LoadedConfigSelectors } from "@smithy/node-config-provider";
1+
import type { LoadedConfigSelectors } from "@smithy/node-config-provider";
22
import { booleanSelector, SelectorType } from "@smithy/util-config-provider";
33

44
/**

packages/config-resolver/src/endpointsConfig/NodeUseFipsEndpointConfigOptions.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { LoadedConfigSelectors } from "@smithy/node-config-provider";
1+
import type { LoadedConfigSelectors } from "@smithy/node-config-provider";
22
import { booleanSelector, SelectorType } from "@smithy/util-config-provider";
33

44
/**

packages/config-resolver/src/endpointsConfig/resolveCustomEndpointsConfig.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
import { Endpoint, Provider, UrlParser } from "@smithy/types";
1+
import type { Endpoint, Provider, UrlParser } from "@smithy/types";
22
import { normalizeProvider } from "@smithy/util-middleware";
33

4-
import { EndpointsInputConfig, EndpointsResolvedConfig } from "./resolveEndpointsConfig";
4+
import type { EndpointsInputConfig, EndpointsResolvedConfig } from "./resolveEndpointsConfig";
55

66
/**
77
* @public

packages/config-resolver/src/endpointsConfig/resolveEndpointsConfig.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { Endpoint, Provider, RegionInfoProvider, UrlParser } from "@smithy/types";
1+
import type { Endpoint, Provider, RegionInfoProvider, UrlParser } from "@smithy/types";
22
import { normalizeProvider } from "@smithy/util-middleware";
33

44
import { getEndpointFromRegion } from "./utils/getEndpointFromRegion";

packages/config-resolver/src/endpointsConfig/utils/getEndpointFromRegion.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { Provider, RegionInfoProvider, UrlParser } from "@smithy/types";
1+
import type { Provider, RegionInfoProvider, UrlParser } from "@smithy/types";
22

33
interface GetEndpointFromRegionOptions {
44
region: Provider<string>;

packages/config-resolver/src/regionConfig/config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { LoadedConfigSelectors, LocalConfigOptions } from "@smithy/node-config-provider";
1+
import type { LoadedConfigSelectors, LocalConfigOptions } from "@smithy/node-config-provider";
22

33
/**
44
* @internal

packages/config-resolver/src/regionConfig/resolveRegionConfig.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { Provider } from "@smithy/types";
1+
import type { Provider } from "@smithy/types";
22

33
import { getRealRegion } from "./getRealRegion";
44
import { isFipsRegion } from "./isFipsRegion";

packages/config-resolver/src/regionInfo/EndpointVariant.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { EndpointVariantTag } from "./EndpointVariantTag";
1+
import type { EndpointVariantTag } from "./EndpointVariantTag";
22

33
/**
44
* Provides hostname information for specific host label.

0 commit comments

Comments
 (0)