You've already forked matrix-js-sdk
mirror of
https://github.com/matrix-org/matrix-js-sdk.git
synced 2025-11-23 17:02:25 +03:00
Bump eslint-plugin-matrix-org to enable @typescript-eslint/consistent-type-imports rule (#4680)
* Bump eslint-plugin-matrix-org to enable @typescript-eslint/consistent-type-imports rule * Re-lint after merge
This commit is contained in:
@@ -14,16 +14,16 @@ See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
*/
|
||||
|
||||
import { IdTokenClaims, Log, OidcClient, SigninResponse, SigninState, WebStorageStateStore } from "oidc-client-ts";
|
||||
import { type IdTokenClaims, Log, OidcClient, SigninResponse, SigninState, WebStorageStateStore } from "oidc-client-ts";
|
||||
|
||||
import { logger } from "../logger.ts";
|
||||
import { secureRandomString } from "../randomstring.ts";
|
||||
import { OidcError } from "./error.ts";
|
||||
import {
|
||||
BearerTokenResponse,
|
||||
UserState,
|
||||
type BearerTokenResponse,
|
||||
type UserState,
|
||||
validateBearerTokenResponse,
|
||||
ValidatedAuthMetadata,
|
||||
type ValidatedAuthMetadata,
|
||||
validateIdToken,
|
||||
validateStoredUserState,
|
||||
} from "./validate.ts";
|
||||
|
||||
@@ -18,7 +18,7 @@ import { MetadataService, OidcClientSettingsStore } from "oidc-client-ts";
|
||||
|
||||
import { validateAuthMetadata } from "./validate.ts";
|
||||
import { Method, timeoutSignal } from "../http-api/index.ts";
|
||||
import { OidcClientConfig } from "./index.ts";
|
||||
import { type OidcClientConfig } from "./index.ts";
|
||||
|
||||
/**
|
||||
* @experimental
|
||||
|
||||
@@ -15,7 +15,7 @@ limitations under the License.
|
||||
*/
|
||||
|
||||
import type { SigningKey } from "oidc-client-ts";
|
||||
import { ValidatedAuthMetadata } from "./validate.ts";
|
||||
import { type ValidatedAuthMetadata } from "./validate.ts";
|
||||
|
||||
export * from "./authorize.ts";
|
||||
export * from "./discovery.ts";
|
||||
|
||||
@@ -14,11 +14,11 @@ See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
*/
|
||||
|
||||
import { OidcClientConfig } from "./index.ts";
|
||||
import { type OidcClientConfig } from "./index.ts";
|
||||
import { OidcError } from "./error.ts";
|
||||
import { Method } from "../http-api/index.ts";
|
||||
import { logger } from "../logger.ts";
|
||||
import { NonEmptyArray } from "../@types/common.ts";
|
||||
import { type NonEmptyArray } from "../@types/common.ts";
|
||||
|
||||
/**
|
||||
* Client metadata passed to registration endpoint
|
||||
|
||||
@@ -14,9 +14,9 @@ See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
*/
|
||||
|
||||
import { IdTokenClaims, OidcClient, WebStorageStateStore } from "oidc-client-ts";
|
||||
import { type IdTokenClaims, OidcClient, WebStorageStateStore } from "oidc-client-ts";
|
||||
|
||||
import { AccessTokens } from "../http-api/index.ts";
|
||||
import { type AccessTokens } from "../http-api/index.ts";
|
||||
import { generateScope } from "./authorize.ts";
|
||||
import { discoverAndValidateOIDCIssuerWellKnown } from "./discovery.ts";
|
||||
import { logger } from "../logger.ts";
|
||||
|
||||
@@ -15,7 +15,7 @@ limitations under the License.
|
||||
*/
|
||||
|
||||
import { jwtDecode } from "jwt-decode";
|
||||
import { IdTokenClaims, OidcMetadata, SigninResponse } from "oidc-client-ts";
|
||||
import { type IdTokenClaims, type OidcMetadata, type SigninResponse } from "oidc-client-ts";
|
||||
|
||||
import { logger } from "../logger.ts";
|
||||
import { OidcError } from "./error.ts";
|
||||
|
||||
Reference in New Issue
Block a user