Skip to content

Commit 9056dc2

Browse files
committed
update deprecated method
1 parent b4a5f27 commit 9056dc2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

eslint.config.mjs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
import { fileURLToPath, URL } from "node:url";
22

33
import { includeIgnoreFile } from "@eslint/compat";
4+
import { defineConfig } from "eslint/config";
45
import importPlugin from "eslint-plugin-import";
56
import tseslint from "typescript-eslint";
67

7-
export default tseslint.config(
8+
export default defineConfig(
89
includeIgnoreFile(fileURLToPath(new URL(".gitignore", import.meta.url))),
910
{
1011
rules: {

0 commit comments

Comments
 (0)