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
11 changed files with 23 additions and 23 deletions
@@ -6,7 +6,7 @@ Please see LICENSE files in the repository root for full details.
*/ */
import type { Room } from "../models/Room"; import type { Room } from "../models/Room";
import { Watchable } from "./watchable"; import { type Watchable } from "./watchable";
/** /**
* Modify account data stored on the homeserver. * Modify account data stored on the homeserver.
@@ -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. 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}. * Options for {@link Api#openDialog}.
@@ -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. 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 * Properties of an item added to the Space panel
@@ -7,7 +7,7 @@ Please see LICENSE files in the repository root for full details.
import { expect, test } from "vitest"; import { expect, test } from "vitest";
import { Api, isModule } from "."; import { type Api, isModule } from ".";
const TestModule = { const TestModule = {
default: class TestModule { default: class TestModule {
@@ -6,19 +6,19 @@ Please see LICENSE files in the repository root for full details.
*/ */
import type { Root } from "react-dom/client"; import type { Root } from "react-dom/client";
import { LegacyModuleApiExtension } from "./legacy-modules"; import { type LegacyModuleApiExtension } from "./legacy-modules";
import { LegacyCustomisationsApiExtension } from "./legacy-customisations"; import { type LegacyCustomisationsApiExtension } from "./legacy-customisations";
import { ConfigApi } from "./config"; import { type ConfigApi } from "./config";
import { I18nApi } from "./i18n"; import { type I18nApi } from "./i18n";
import { CustomComponentsApi } from "./custom-components"; import { type CustomComponentsApi } from "./custom-components";
import { NavigationApi } from "./navigation.ts"; import { type NavigationApi } from "./navigation.ts";
import { DialogApiExtension } from "./dialog.ts"; import { type DialogApiExtension } from "./dialog.ts";
import { AccountAuthApiExtension } from "./auth.ts"; import { type AccountAuthApiExtension } from "./auth.ts";
import { ProfileApiExtension } from "./profile.ts"; import { type ProfileApiExtension } from "./profile.ts";
import { ExtrasApi } from "./extras.ts"; import { type ExtrasApi } from "./extras.ts";
import { BuiltinsApi } from "./builtins.ts"; import { type BuiltinsApi } from "./builtins.ts";
import { StoresApi } from "./stores.ts"; import { type StoresApi } from "./stores.ts";
import { ClientApi } from "./client.ts"; import { type ClientApi } from "./client.ts";
/** /**
* Module interface for modules to implement. * Module interface for modules to implement.
@@ -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. 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 * A function called to render a component when a user navigates to the corresponding
@@ -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. 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. * The profile of the user currently logged in.
@@ -6,7 +6,7 @@ Please see LICENSE files in the repository root for full details.
*/ */
import type { Room } from "../models/Room"; 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. * Provides some basic functionality of the Room List Store from element-web.
@@ -7,7 +7,7 @@ Please see LICENSE files in the repository root for full details.
import { expect, test, describe, vi, beforeEach } from "vitest"; import { expect, test, describe, vi, beforeEach } from "vitest";
import { Api, ModuleIncompatibleError, ModuleLoader } from "."; import { type Api, ModuleIncompatibleError, ModuleLoader } from ".";
describe("ModuleIncompatibleError", () => { describe("ModuleIncompatibleError", () => {
test("should extend Error", () => { test("should extend Error", () => {
@@ -7,7 +7,7 @@ Please see LICENSE files in the repository root for full details.
import { satisfies } from "semver"; 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. * Error thrown when a module is incompatible with the engine version.
@@ -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. 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. * Represents a room from element-web.