We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8f7a82b commit 5edb609Copy full SHA for 5edb609
1 file changed
eslint.config.js
@@ -2,22 +2,16 @@ import js from "@eslint/js";
2
import reactHooks from "eslint-plugin-react-hooks";
3
import reactRefresh from "eslint-plugin-react-refresh";
4
import { defineConfig, globalIgnores } from "eslint/config";
5
-import globals from "globals";
6
import tseslint from "typescript-eslint";
7
8
export default defineConfig([
9
globalIgnores(["dist"]),
10
{
11
- files: ["**/*.{ts,tsx}"],
12
extends: [
13
js.configs.recommended,
14
- tseslint.configs.recommended,
15
reactHooks.configs.flat.recommended,
16
reactRefresh.configs.vite,
+ tseslint.configs.recommended,
17
],
18
- languageOptions: {
19
- ecmaVersion: 2020,
20
- globals: globals.browser,
21
- },
22
},
23
]);
0 commit comments