Skip to content

Commit 36d8b11

Browse files
authored
[sort-imports] enforce sort-imports rule in mixed-reality-authentication (Azure#20114)
1 parent 0f9ba98 commit 36d8b11

File tree

3 files changed

+12
-5
lines changed

3 files changed

+12
-5
lines changed
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"plugins": ["@azure/azure-sdk"],
3+
"extends": ["plugin:@azure/azure-sdk/azure-sdk-base"],
4+
"rules": {
5+
"sort-imports": "error"
6+
}
7+
}

sdk/mixedreality/mixed-reality-authentication/src/mixedRealityStsClient.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
// Copyright (c) Microsoft Corporation.
22
// Licensed under the MIT license.
33

4-
import { InternalClientPipelineOptions } from "@azure/core-client";
5-
import { bearerTokenAuthenticationPolicy } from "@azure/core-rest-pipeline";
6-
import { TokenCredential, AccessToken, AzureKeyCredential } from "@azure/core-auth";
4+
import { AccessToken, AzureKeyCredential, TokenCredential } from "@azure/core-auth";
75
import {
6+
GetTokenOptionalParams,
87
MixedRealityStsRestClient,
98
MixedRealityStsRestClientOptionalParams,
10-
GetTokenOptionalParams,
119
} from "./generated";
1210
import { GetTokenOptions, MixedRealityStsClientOptions } from "./models/options";
11+
import { InternalClientPipelineOptions } from "@azure/core-client";
1312
import { MixedRealityAccountKeyCredential } from "./models/auth";
1413
import { SpanStatusCode } from "@azure/core-tracing";
14+
import { bearerTokenAuthenticationPolicy } from "@azure/core-rest-pipeline";
1515
import { constructAuthenticationEndpointFromDomain } from "./util/authenticationEndpoint";
1616
import { createSpan } from "./tracing";
1717
import { generateCvBase } from "./util/cv";

sdk/mixedreality/mixed-reality-authentication/src/models/auth.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
// Licensed under the MIT license.
33

44
import {
5-
AzureKeyCredential,
65
AccessToken,
6+
AzureKeyCredential,
77
GetTokenOptions,
88
TokenCredential,
99
} from "@azure/core-auth";

0 commit comments

Comments
 (0)