Skip to content

Commit

Permalink
Add eslint rule for globalThis
Browse files Browse the repository at this point in the history
  • Loading branch information
Tom Duncalf committed Jun 20, 2022
1 parent c5287ef commit b92a7f8
Show file tree
Hide file tree
Showing 8 changed files with 26,317 additions and 26,509 deletions.
3 changes: 3 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@
"plugin:prettier/recommended",
"./header.eslintrc"
],
"rules": {
"no-restricted-globals": ["error", "globalThis"]
},
"env": {
"es2020": true
},
Expand Down
Loading

0 comments on commit b92a7f8

Please sign in to comment.