Skip to content

Commit

Permalink
chore: import globals
Browse files Browse the repository at this point in the history
  • Loading branch information
35C4n0r committed Jan 14, 2025
1 parent 7c5fefc commit 61fc318
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import reactHooksPlugin from 'eslint-plugin-react-hooks';
import prettierPlugin from 'eslint-plugin-prettier';
import js from '@eslint/js';
import prettierConfig from 'eslint-config-prettier';
import globals from "globals";

const compat = new FlatCompat({
baseDirectory: import.meta.url,
Expand All @@ -31,6 +32,7 @@ export default [
},
},
globals: {
...globals.browser,
Headers: 'readonly',
RequestInit: 'readonly',
fetch: 'readonly',
Expand Down

0 comments on commit 61fc318

Please sign in to comment.