Skip to content

Commit

Permalink
clarify global type settings
Browse files Browse the repository at this point in the history
  • Loading branch information
harrydowning committed Aug 28, 2024
1 parent 35b71a1 commit 9aeebd8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export default tseslint.config(
},
{
languageOptions: {
globals: globals.node, // TODO: not working, check github/raise issue
globals: globals.node, // For JS only
},
},
);
1 change: 1 addition & 0 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"compilerOptions": {
"module": "commonjs",
"target": "ES2022",
"lib": ["ES2022"], // Exclude DOM globals
"sourceMap": true,
"rootDir": "src",
"outDir": "dist",
Expand Down

0 comments on commit 9aeebd8

Please sign in to comment.