Merge pull request #126 from element-hq/renovate/major-eslint-plugins

This commit is contained in:
Michael Telatynski 2025-11-12 12:24:19 +00:00 committed by GitHub
commit 44c3d767ce
11 changed files with 23 additions and 23 deletions

View File

@ -6,7 +6,7 @@ Please see LICENSE files in the repository root for full details.
*/
import type { Room } from "../models/Room";
import { Watchable } from "./watchable";
import { type Watchable } from "./watchable";
/**
* Modify account data stored on the homeserver.

View File

@ -5,7 +5,7 @@ SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
Please see LICENSE files in the repository root for full details.
*/
import { ComponentType } from "react";
import { type ComponentType } from "react";
/**
* Options for {@link Api#openDialog}.

View File

@ -5,7 +5,7 @@ SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
Please see LICENSE files in the repository root for full details.
*/
import { JSX } from "react";
import { type JSX } from "react";
/**
* Properties of an item added to the Space panel

View File

@ -7,7 +7,7 @@ Please see LICENSE files in the repository root for full details.
import { expect, test } from "vitest";
import { Api, isModule } from ".";
import { type Api, isModule } from ".";
const TestModule = {
default: class TestModule {

View File

@ -6,19 +6,19 @@ Please see LICENSE files in the repository root for full details.
*/
import type { Root } from "react-dom/client";
import { LegacyModuleApiExtension } from "./legacy-modules";
import { LegacyCustomisationsApiExtension } from "./legacy-customisations";
import { ConfigApi } from "./config";
import { I18nApi } from "./i18n";
import { CustomComponentsApi } from "./custom-components";
import { NavigationApi } from "./navigation.ts";
import { DialogApiExtension } from "./dialog.ts";
import { AccountAuthApiExtension } from "./auth.ts";
import { ProfileApiExtension } from "./profile.ts";
import { ExtrasApi } from "./extras.ts";
import { BuiltinsApi } from "./builtins.ts";
import { StoresApi } from "./stores.ts";
import { ClientApi } from "./client.ts";
import { type LegacyModuleApiExtension } from "./legacy-modules";
import { type LegacyCustomisationsApiExtension } from "./legacy-customisations";
import { type ConfigApi } from "./config";
import { type I18nApi } from "./i18n";
import { type CustomComponentsApi } from "./custom-components";
import { type NavigationApi } from "./navigation.ts";
import { type DialogApiExtension } from "./dialog.ts";
import { type AccountAuthApiExtension } from "./auth.ts";
import { type ProfileApiExtension } from "./profile.ts";
import { type ExtrasApi } from "./extras.ts";
import { type BuiltinsApi } from "./builtins.ts";
import { type StoresApi } from "./stores.ts";
import { type ClientApi } from "./client.ts";
/**
* Module interface for modules to implement.

View File

@ -5,7 +5,7 @@ SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
Please see LICENSE files in the repository root for full details.
*/
import { JSX } from "react";
import { type JSX } from "react";
/**
* A function called to render a component when a user navigates to the corresponding

View File

@ -5,7 +5,7 @@ SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
Please see LICENSE files in the repository root for full details.
*/
import { Watchable } from "./watchable.ts";
import { type Watchable } from "./watchable.ts";
/**
* The profile of the user currently logged in.

View File

@ -6,7 +6,7 @@ Please see LICENSE files in the repository root for full details.
*/
import type { Room } from "../models/Room";
import { Watchable } from "./watchable";
import { type Watchable } from "./watchable";
/**
* Provides some basic functionality of the Room List Store from element-web.

View File

@ -7,7 +7,7 @@ Please see LICENSE files in the repository root for full details.
import { expect, test, describe, vi, beforeEach } from "vitest";
import { Api, ModuleIncompatibleError, ModuleLoader } from ".";
import { type Api, ModuleIncompatibleError, ModuleLoader } from ".";
describe("ModuleIncompatibleError", () => {
test("should extend Error", () => {

View File

@ -7,7 +7,7 @@ Please see LICENSE files in the repository root for full details.
import { satisfies } from "semver";
import { Api, isModule, Module, ModuleExport } from "./api";
import { type Api, isModule, type Module, type ModuleExport } from "./api";
/**
* Error thrown when a module is incompatible with the engine version.

View File

@ -5,7 +5,7 @@ SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
Please see LICENSE files in the repository root for full details.
*/
import { Watchable } from "../api/watchable";
import { type Watchable } from "../api/watchable";
/**
* Represents a room from element-web.