Skip to content

Commit

Permalink
Update dependency eslint-plugin-matrix-org to v2.1.0 (#2121)
Browse files Browse the repository at this point in the history
* Update dependency eslint-plugin-matrix-org to v2.1.0

* Delint

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

---------

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
  • Loading branch information
renovate[bot] and t3chguy authored Feb 5, 2025
1 parent 6d0deb0 commit 3e98c2c
Show file tree
Hide file tree
Showing 8 changed files with 21 additions and 21 deletions.
4 changes: 2 additions & 2 deletions scripts/hak/hakEnv.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ Please see LICENSE files in the repository root for full details.
import path from "node:path";
import os from "node:os";
import { getElectronVersionFromInstalled } from "app-builder-lib/out/electron/electronVersion.js";
import childProcess, { SpawnOptions } from "node:child_process";
import childProcess, { type SpawnOptions } from "node:child_process";

import { Arch, Target, TARGETS, getHost, isHostId, TargetId } from "./target.js";
import { type Arch, type Target, TARGETS, getHost, isHostId, type TargetId } from "./target.js";

async function getRuntimeVersion(projectRoot: string): Promise<string> {
const electronVersion = await getElectronVersionFromInstalled(projectRoot);
Expand Down
4 changes: 2 additions & 2 deletions scripts/hak/link.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ import path from "node:path";
import os from "node:os";
import fsProm from "node:fs/promises";

import HakEnv from "./hakEnv.js";
import { DependencyInfo } from "./dep.js";
import type HakEnv from "./hakEnv.js";
import { type DependencyInfo } from "./dep.js";

export default async function link(hakEnv: HakEnv, moduleInfo: DependencyInfo): Promise<void> {
const yarnrc = path.join(hakEnv.projectRoot, ".yarnrc");
Expand Down
8 changes: 4 additions & 4 deletions src/@types/global.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ SPDX-License-Identifier: AGPL-3.0-only OR GPL-3.0-only OR LicenseRef-Element-Com
Please see LICENSE files in the repository root for full details.
*/

import { BrowserWindow } from "electron";
import Store from "electron-store";
import AutoLaunch from "auto-launch";
import { type BrowserWindow } from "electron";

import { AppLocalization } from "../language-helper.js";
import type Store from "electron-store";
import type AutoLaunch from "auto-launch";
import { type AppLocalization } from "../language-helper.js";

// global type extensions need to use var for whatever reason
/* eslint-disable no-var */
Expand Down
2 changes: 1 addition & 1 deletion src/electron-main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Please see LICENSE files in the repository root for full details.

// Squirrel on windows starts the app with various flags as hooks to tell us when we've been installed/uninstalled etc.
import "./squirrelhooks.js";
import { app, BrowserWindow, Menu, autoUpdater, protocol, dialog, Input, Event, session } from "electron";
import { app, BrowserWindow, Menu, autoUpdater, protocol, dialog, type Input, type Event, session } from "electron";
// eslint-disable-next-line n/file-extension-in-import
import * as Sentry from "@sentry/electron/main";
import AutoLaunch from "auto-launch";
Expand Down
2 changes: 1 addition & 1 deletion src/language-helper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Please see LICENSE files in the repository root for full details.
*/

import counterpart from "counterpart";
import { TranslationKey as TKey } from "matrix-web-i18n";
import { type TranslationKey as TKey } from "matrix-web-i18n";
import { dirname } from "node:path";
import { fileURLToPath } from "node:url";

Expand Down
2 changes: 1 addition & 1 deletion src/vectormenu.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ SPDX-License-Identifier: AGPL-3.0-only OR GPL-3.0-only OR LicenseRef-Element-Com
Please see LICENSE files in the repository root for full details.
*/

import { app, shell, Menu, MenuItem, MenuItemConstructorOptions } from "electron";
import { app, shell, Menu, type MenuItem, type MenuItemConstructorOptions } from "electron";

import { _t } from "./language-helper.js";

Expand Down
14 changes: 7 additions & 7 deletions src/webcontents-handler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@ import {
shell,
dialog,
ipcMain,
NativeImage,
WebContents,
ContextMenuParams,
DownloadItem,
MenuItemConstructorOptions,
IpcMainEvent,
Event,
type NativeImage,
type WebContents,
type ContextMenuParams,
type DownloadItem,
type MenuItemConstructorOptions,
type IpcMainEvent,
type Event,
} from "electron";
import url from "node:url";
import fs from "node:fs";
Expand Down
6 changes: 3 additions & 3 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3900,9 +3900,9 @@ eslint-plugin-import@^2.25.4:
tsconfig-paths "^3.15.0"

eslint-plugin-matrix-org@^2.0.1:
version "2.0.2"
resolved "https://registry.yarnpkg.com/eslint-plugin-matrix-org/-/eslint-plugin-matrix-org-2.0.2.tgz#95b86b0f16704ab19740f7c3c62eae69e20365e6"
integrity sha512-cQy5Rjeq6uyu1mLXlPZwEJdyM0NmclrnEz68y792FSuuxzMyJNNYLGDQ5CkYW8H+PrD825HUFZ34pNXnjMOzOw==
version "2.1.0"
resolved "https://registry.yarnpkg.com/eslint-plugin-matrix-org/-/eslint-plugin-matrix-org-2.1.0.tgz#9053726119f107154f5210665c2f84219425c190"
integrity sha512-YjVQ0qunzVV34tpUchLWhOrOalGfRLm0tclS4dPYnXS8Ui+p12o/YtRHt+26Mg5tJ0QH76HsGC0LJKLVLNoqfg==

eslint-plugin-n@^17.12.0:
version "17.15.1"
Expand Down

0 comments on commit 3e98c2c

Please sign in to comment.