We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f190820 commit 8ba8cf1Copy full SHA for 8ba8cf1
eslint.config.ts
@@ -1,12 +1,13 @@
1
import eslint from "@eslint/js"
2
import prettier from "eslint-config-prettier"
3
-import globals from "globals"
+import { browser, node } from "globals"
4
import tseslint from "typescript-eslint"
5
+import { defineConfig } from "eslint/config"
6
-export default tseslint.config(
7
+export default defineConfig(
8
{
9
languageOptions: {
- globals: { ...globals.browser, ...globals.node },
10
+ globals: { ...browser, ...node },
11
parserOptions: { project: "./tsconfig.eslint.json" },
12
},
13
0 commit comments