Skip to content

Commit

Permalink
use default export for globals package
Browse files Browse the repository at this point in the history
  • Loading branch information
noelforte committed Dec 4, 2024
1 parent cabfbd4 commit 9610a96
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// @ts-check
import eslint from '@eslint/js';
import { node } from 'globals';
import globals from 'globals';
import tseslint from 'typescript-eslint';

// Configs
Expand All @@ -27,7 +27,7 @@ export default tseslint.config(
languageOptions: {
ecmaVersion: 'latest',
sourceType: 'module',
globals: node,
globals: globals.node,
},
rules: {
'@typescript-eslint/no-unused-vars': [
Expand Down

0 comments on commit 9610a96

Please sign in to comment.