Skip to content

Commit ba651d6

Browse files
committed
fix: remove depricated eslint config constructor
1 parent 46e856b commit ba651d6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

eslint.config.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,9 @@ import svelte from "eslint-plugin-svelte";
44
import globals from "globals";
55
import ts from "typescript-eslint";
66
import svelteConfig from "./svelte.config.js";
7+
import { defineConfig } from "eslint/config";
78

8-
export default ts.config(
9+
export default defineConfig(
910
js.configs.recommended,
1011
...ts.configs.recommended,
1112
...svelte.configs.recommended,

0 commit comments

Comments
 (0)