Skip to content

Commit a108daf

Browse files
committed
upgrade eslint v9
1 parent 7441cc5 commit a108daf

File tree

3 files changed

+517
-541
lines changed

3 files changed

+517
-541
lines changed

eslint.config.mjs

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
// @ts-check
2+
3+
import eslint from "@eslint/js";
4+
import tseslint from "typescript-eslint";
5+
import eslintConfigPrettier from "eslint-config-prettier";
6+
7+
export default tseslint.config(
8+
eslint.configs.recommended,
9+
tseslint.configs.recommendedTypeChecked,
10+
{
11+
languageOptions: {
12+
parserOptions: {
13+
projectService: true,
14+
tsconfigRootDir: import.meta.dirname,
15+
},
16+
},
17+
},
18+
eslintConfigPrettier,
19+
);

0 commit comments

Comments
 (0)