fix linting and linting errors. remove unused svelte prop

This commit is contained in:
peterkogo
2025-06-11 15:30:28 +02:00
parent 3d2205a781
commit 33b7a47dd7
8 changed files with 952 additions and 979 deletions

View File

@@ -14,8 +14,8 @@
"devDependencies": { "devDependencies": {
"@sveltejs/adapter-auto": "^6.0.0", "@sveltejs/adapter-auto": "^6.0.0",
"@sveltejs/kit": "^2.20.7", "@sveltejs/kit": "^2.20.7",
"@typescript-eslint/eslint-plugin": "^8.30.1", "@typescript-eslint/eslint-plugin": "^8.34.0",
"@typescript-eslint/parser": "^8.30.1", "@typescript-eslint/parser": "^8.34.0",
"eslint": "^9.24.0", "eslint": "^9.24.0",
"eslint-config-prettier": "^10.1.2", "eslint-config-prettier": "^10.1.2",
"eslint-plugin-svelte": "^3.5.1", "eslint-plugin-svelte": "^3.5.1",

View File

@@ -26,7 +26,7 @@
"@changesets/cli": "^2.25.0", "@changesets/cli": "^2.25.0",
"@playwright/test": "^1.44.1", "@playwright/test": "^1.44.1",
"concurrently": "^7.6.0", "concurrently": "^7.6.0",
"eslint": "^8.22.0", "eslint": "^8.57.0",
"prettier": "^2.7.1", "prettier": "^2.7.1",
"react": "^18.2.0", "react": "^18.2.0",
"react-dom": "^18.2.0", "react-dom": "^18.2.0",

View File

@@ -55,35 +55,35 @@
"@xyflow/system": "workspace:*" "@xyflow/system": "workspace:*"
}, },
"devDependencies": { "devDependencies": {
"@eslint/js": "^9.24.0", "@eslint/js": "^9.28.0",
"@sveltejs/adapter-auto": "^6.0.0", "@sveltejs/adapter-auto": "^6.0.1",
"@sveltejs/kit": "^2.20.7", "@sveltejs/kit": "^2.21.4",
"@sveltejs/package": "^2.3.11", "@sveltejs/package": "^2.3.11",
"@sveltejs/vite-plugin-svelte": "^5.0.3", "@sveltejs/vite-plugin-svelte": "^5.1.0",
"@typescript-eslint/eslint-plugin": "^8.30.1", "@typescript-eslint/eslint-plugin": "^8.34.0",
"@typescript-eslint/parser": "^8.30.1", "@typescript-eslint/parser": "^8.34.0",
"autoprefixer": "^10.4.21", "autoprefixer": "^10.4.21",
"cssnano": "^7.0.6", "cssnano": "^7.0.7",
"dotenv": "^16.5.0", "dotenv": "^16.5.0",
"eslint": "^9.24.0", "eslint": "^9.28.0",
"eslint-config-prettier": "^10.1.2", "eslint-config-prettier": "^10.1.5",
"eslint-plugin-svelte": "^3.5.1", "eslint-plugin-svelte": "^3.9.2",
"globals": "^16.0.0", "globals": "^16.2.0",
"postcss": "^8.5.3", "postcss": "^8.5.4",
"postcss-cli": "^11.0.1", "postcss-cli": "^11.0.1",
"postcss-combine-duplicated-selectors": "^10.0.3", "postcss-combine-duplicated-selectors": "^10.0.3",
"postcss-import": "^16.1.0", "postcss-import": "^16.1.0",
"postcss-nested": "^7.0.2", "postcss-nested": "^7.0.2",
"postcss-rename": "^0.6.1", "postcss-rename": "^0.8.0",
"prettier": "^3.5.3", "prettier": "^3.5.3",
"prettier-plugin-svelte": "^3.3.3", "prettier-plugin-svelte": "^3.4.0",
"svelte": "^5.27.0", "svelte": "^5.33.19",
"svelte-check": "^4.1.6", "svelte-check": "^4.2.1",
"svelte-eslint-parser": "^1.1.2", "svelte-eslint-parser": "^1.2.0",
"svelte-preprocess": "^6.0.3", "svelte-preprocess": "^6.0.3",
"tslib": "^2.8.1", "tslib": "^2.8.1",
"typescript": "^5.8.3", "typescript": "^5.8.3",
"typescript-eslint": "^8.30.1" "typescript-eslint": "^8.34.0"
}, },
"peerDependencies": { "peerDependencies": {
"svelte": "^5.25.0" "svelte": "^5.25.0"

View File

@@ -23,7 +23,6 @@
buttonColor, buttonColor,
buttonColorHover, buttonColorHover,
buttonBorderColor, buttonBorderColor,
'aria-label': ariaLabel,
fitViewOptions, fitViewOptions,
children, children,
before, before,

View File

@@ -20,6 +20,7 @@ import {
createZoomOnScrollHandler, createZoomOnScrollHandler,
} from './eventhandler'; } from './eventhandler';
import { createFilter } from './filter'; import { createFilter } from './filter';
// eslint-disable-next-line @typescript-eslint/no-unused-vars
import { transition } from 'd3-transition'; import { transition } from 'd3-transition';
export type ZoomPanValues = { export type ZoomPanValues = {

View File

@@ -1,5 +1,6 @@
/* eslint-disable @typescript-eslint/no-explicit-any */ /* eslint-disable @typescript-eslint/no-explicit-any */
import { type ZoomTransform, zoomIdentity } from 'd3-zoom'; import { type ZoomTransform, zoomIdentity } from 'd3-zoom';
// eslint-disable-next-line @typescript-eslint/no-unused-vars
import { transition } from 'd3-transition'; import { transition } from 'd3-transition';
import { type D3SelectionInstance, type Viewport } from '../types'; import { type D3SelectionInstance, type Viewport } from '../types';

1873
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff

View File

@@ -5,11 +5,14 @@
"license": "MIT", "license": "MIT",
"main": "src/index.js", "main": "src/index.js",
"devDependencies": { "devDependencies": {
"@typescript-eslint/eslint-plugin": "^8.23.0", "@typescript-eslint/eslint-plugin": "^8.34.0",
"@typescript-eslint/parser": "^8.23.0", "@typescript-eslint/parser": "^8.34.0",
"eslint-config-prettier": "^10.0.1", "eslint-config-prettier": "^10.1.5",
"eslint-config-turbo": "^2.4.0", "eslint-config-turbo": "^2.5.4",
"eslint-plugin-prettier": "^4.2.1", "eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-react": "^7.37.4" "eslint-plugin-react": "^7.37.5"
},
"dependencies": {
"eslint": "8.57.0"
} }
} }