Skip to content

Commit 2675972

Browse files
authored
test: replace tseslint.config with defineConfig (#700)
Signed-off-by: Alfi Maulana <alfi.maulana.f@gmail.com>
1 parent 198e2ab commit 2675972

File tree

3 files changed

+75
-75
lines changed

3 files changed

+75
-75
lines changed

eslint.config.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import eslint from "@eslint/js";
2-
import { globalIgnores } from "eslint/config";
2+
import { defineConfig, globalIgnores } from "eslint/config";
33
import tseslint from "typescript-eslint";
44

5-
export default tseslint.config(
5+
export default defineConfig(
66
globalIgnores(["dist"]),
77
eslint.configs.recommended,
88
tseslint.configs.strictTypeChecked,

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,6 @@
2222
"prettier": "^3.6.2",
2323
"prettier-plugin-organize-imports": "^4.2.0",
2424
"typescript": "^5.8.3",
25-
"typescript-eslint": "^8.38.0"
25+
"typescript-eslint": "^8.42.0"
2626
}
2727
}

pnpm-lock.yaml

Lines changed: 72 additions & 72 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)