mirror of
https://github.com/C4illin/ConvertX.git
synced 2025-11-17 04:11:36 +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 tseslint from "typescript-eslint";
|
||||
|
||||
|
||||
export default tseslint.config(
|
||||
js.configs.recommended,
|
||||
importPlugin.flatConfigs.recommended,
|
||||
@@ -32,6 +33,7 @@ export default tseslint.config(
|
||||
},
|
||||
globals: {
|
||||
...globals.node,
|
||||
...globals.browser,
|
||||
},
|
||||
},
|
||||
files: ["**/*.{js,mjs,cjs}"],
|
||||
@@ -52,4 +54,4 @@ export default tseslint.config(
|
||||
"import/no-named-as-default": "off",
|
||||
},
|
||||
},
|
||||
);
|
||||
);
|
||||
Reference in New Issue
Block a user