Skip to content

Commit a207f80

Browse files
committed
better eslint
1 parent 58353e3 commit a207f80

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

eslint.config.js

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
import globals from "globals";
22
import eslint from "@eslint/js";
33
import vitest from "@vitest/eslint-plugin";
4-
import typescript from "typescript-eslint";
4+
import tseslint from "typescript-eslint";
55
import prettier from "eslint-plugin-prettier/recommended";
66

7-
export default [
7+
export default tseslint.config(
88
eslint.configs.recommended,
99
vitest.configs.recommended,
10-
...typescript.configs.recommended,
10+
tseslint.configs.recommended,
1111
prettier,
1212
{ languageOptions: { globals: globals.browser } },
1313
{ rules: { "prefer-template": "error" } },
14-
];
14+
);

0 commit comments

Comments
 (0)