Skip to content

Commit 5e70279

Browse files
committed
fix: support globalThis
1 parent 52a6db9 commit 5e70279

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.eslintrc.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@ module.exports = {
1313
'plugin:import/warnings',
1414
'plugin:import/typescript',
1515
],
16+
globals: {
17+
globalThis: false, // false means not writable
18+
},
1619
plugins: ['ban', 'jsdoc', 'react', 'react-hooks', 'etc'],
1720
settings: {
1821
react: {

0 commit comments

Comments
 (0)