Răsfoiți Sursa

chore(deps) Update dependency eslint-config-standard-with-typescript to v32 (#6141)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
renovate[bot] 2 ani în urmă
părinte
comite
0d6bc3b583

+ 1 - 1
tooling/api/package.json

@@ -45,7 +45,7 @@
     "@typescript-eslint/parser": "5.49.0",
     "eslint": "8.32.0",
     "eslint-config-prettier": "8.6.0",
-    "eslint-config-standard-with-typescript": "30.0.0",
+    "eslint-config-standard-with-typescript": "32.0.0",
     "eslint-plugin-import": "2.27.5",
     "eslint-plugin-n": "15.6.1",
     "eslint-plugin-node": "11.1.0",

+ 2 - 2
tooling/api/src/helpers/event.ts

@@ -2,10 +2,10 @@
 // SPDX-License-Identifier: Apache-2.0
 // SPDX-License-Identifier: MIT
 
-import { WindowLabel } from '../window'
+import { type WindowLabel } from '../window'
 import { invokeTauriCommand } from './tauri'
 import { transformCallback } from '../tauri'
-import type { EventName } from '../event'
+import { type EventName } from '../event'
 
 export interface Event<T> {
   /** Event name */

+ 1 - 1
tooling/api/src/http.ts

@@ -556,4 +556,4 @@ export type {
   FetchOptions
 }
 
-export { getClient, fetch, Body, Client, Response, ResponseType, FilePart }
+export { getClient, fetch, Body, Client, Response, ResponseType, type FilePart }

+ 1 - 1
tooling/api/src/updater.ts

@@ -10,7 +10,7 @@
  */
 
 import { once, listen, emit, TauriEvent } from './event'
-import { UnlistenFn } from './helpers/event'
+import { type UnlistenFn } from './helpers/event'
 
 /**
  * @since 1.0.0

+ 1 - 1
tooling/api/src/window.ts

@@ -64,7 +64,7 @@
 
 import { invokeTauriCommand } from './helpers/tauri'
 import type { EventName, EventCallback, UnlistenFn } from './event'
-import { emit, Event, listen, once } from './helpers/event'
+import { emit, type Event, listen, once } from './helpers/event'
 import { TauriEvent } from './event'
 
 type Theme = 'light' | 'dark'

+ 4 - 4
tooling/api/yarn.lock

@@ -697,10 +697,10 @@ eslint-config-prettier@8.6.0:
   resolved "https://registry.yarnpkg.com/eslint-config-prettier/-/eslint-config-prettier-8.6.0.tgz#dec1d29ab728f4fa63061774e1672ac4e363d207"
   integrity sha512-bAF0eLpLVqP5oEVUFKpMA+NnRFICwn9X8B5jrR9FcqnYBuPbqWEjTEspPWMj5ye6czoSLDweCzSo3Ko7gGrZaA==
 
-eslint-config-standard-with-typescript@30.0.0:
-  version "30.0.0"
-  resolved "https://registry.yarnpkg.com/eslint-config-standard-with-typescript/-/eslint-config-standard-with-typescript-30.0.0.tgz#85e91cf17a5e229bc67347a08060795d2b8b4658"
-  integrity sha512-/Ltst1BCZCWrGmqprLHBkTwuAbcoQrR8uMeSzZAv1vHKIVg+2nFje+DULA30SW01yCNhnx0a8yhZBkR0ZZPp+w==
+eslint-config-standard-with-typescript@32.0.0:
+  version "32.0.0"
+  resolved "https://registry.yarnpkg.com/eslint-config-standard-with-typescript/-/eslint-config-standard-with-typescript-32.0.0.tgz#31d9212fc8e7a3f0b67bad98828829161bb3d89f"
+  integrity sha512-SyfzLvyBbPfxr2K/zNphtl5CGIS7FHH7v0TZrpmuyEXe+S1LFgt8hdJcWZHNxFckAGVQqrCxe/8+9T6n8x0gEA==
   dependencies:
     "@typescript-eslint/parser" "^5.0.0"
     eslint-config-standard "17.0.0"