Skip to content

Commit 94539c8

Browse files
committed
Reduce globals
1 parent 3424fcd commit 94539c8

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

eslint.config.ts

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -58,16 +58,9 @@ export default [
5858
project: './tsconfig.json',
5959
},
6060
globals: {
61-
// Node.js globals for CLI scripts
61+
// Only the Node.js globals actually used in CLI files
6262
process: 'readonly',
6363
console: 'readonly',
64-
Buffer: 'readonly',
65-
__dirname: 'readonly',
66-
__filename: 'readonly',
67-
module: 'readonly',
68-
require: 'readonly',
69-
exports: 'writable',
70-
global: 'readonly',
7164
},
7265
},
7366
plugins: {

0 commit comments

Comments
 (0)