Skip to content

Commit

Permalink
fix: support globalThis
Browse files Browse the repository at this point in the history
  • Loading branch information
felixfbecker committed Mar 18, 2020
1 parent 52a6db9 commit 5e70279
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ module.exports = {
'plugin:import/warnings',
'plugin:import/typescript',
],
globals: {
globalThis: false, // false means not writable
},
plugins: ['ban', 'jsdoc', 'react', 'react-hooks', 'etc'],
settings: {
react: {
Expand Down

0 comments on commit 5e70279

Please sign in to comment.