mirror of
https://github.com/C4illin/ConvertX.git
synced 2025-11-18 12:43:11 +00:00
chore(eslint): add browser globals to ESLint configuration
This commit is contained in:
@@ -8,6 +8,7 @@ import tailwind from "eslint-plugin-tailwindcss";
|
|||||||
import globals from "globals";
|
import globals from "globals";
|
||||||
import tseslint from "typescript-eslint";
|
import tseslint from "typescript-eslint";
|
||||||
|
|
||||||
|
|
||||||
export default tseslint.config(
|
export default tseslint.config(
|
||||||
js.configs.recommended,
|
js.configs.recommended,
|
||||||
importPlugin.flatConfigs.recommended,
|
importPlugin.flatConfigs.recommended,
|
||||||
@@ -32,6 +33,7 @@ export default tseslint.config(
|
|||||||
},
|
},
|
||||||
globals: {
|
globals: {
|
||||||
...globals.node,
|
...globals.node,
|
||||||
|
...globals.browser,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
files: ["**/*.{js,mjs,cjs}"],
|
files: ["**/*.{js,mjs,cjs}"],
|
||||||
|
|||||||
Reference in New Issue
Block a user