Node: Replace global with globalThis

This commit is contained in:
Cohee
2024-10-18 09:13:25 +00:00
parent 6a5828f2c7
commit a32dd436d7
9 changed files with 17 additions and 14 deletions

View File

@@ -19,6 +19,9 @@ module.exports = {
parserOptions: {
sourceType: 'module',
},
globals: {
globalThis: 'readonly',
},
},
{
files: ['*.cjs'],