Skip to content

Commit

Permalink
chore: eslint config
Browse files Browse the repository at this point in the history
  • Loading branch information
liangskyli committed Aug 30, 2024
1 parent 0b05917 commit 8515b5d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@ export default [
{
files: ['**/*.{js,mjs,cjs,ts,tsx}'],
},
{ languageOptions: { globals: globals.browser } },
{ languageOptions: { globals: globals.node } },
{ languageOptions: { globals: { ...globals.browser, ...globals.node } } },
pluginJs.configs.recommended,
...tsEslint.configs.recommended,
{
Expand Down

0 comments on commit 8515b5d

Please sign in to comment.