From 1a9fe0925f831c90186286e582508678d4138fdb Mon Sep 17 00:00:00 2001 From: Scott Wu Date: Tue, 31 Mar 2026 01:53:28 +0800 Subject: [PATCH] . --- .vscode/settings.json | 4 ---- eslint.config.js | 8 ++++---- 2 files changed, 4 insertions(+), 8 deletions(-) delete mode 100644 .vscode/settings.json diff --git a/.vscode/settings.json b/.vscode/settings.json deleted file mode 100644 index dfec90d63..000000000 --- a/.vscode/settings.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "eslint.useFlatConfig": true, - "typescript.tsdk": "./node_modules/typescript/lib" -} diff --git a/eslint.config.js b/eslint.config.js index 80083da61..098918556 100644 --- a/eslint.config.js +++ b/eslint.config.js @@ -1,9 +1,9 @@ // @ts-expect-error import svelte_config from '@sveltejs/eslint-config'; +import { defineConfig } from 'eslint/config'; -/** @type {import('eslint').Linter.Config[]} */ -export default [ - ...svelte_config, +export default defineConfig( + svelte_config, { rules: { 'no-undef': 'off', @@ -36,4 +36,4 @@ export default [ 'packages/sv-utils/src/**/tests/**/{output,input}.ts' ] } -]; +);