Skip to content

Commit

Permalink
Revert "WRP-6905: Support web-worker global variables (#68)" (#71)
Browse files Browse the repository at this point in the history
This reverts commit a370a6b.
  • Loading branch information
hong6316 authored Sep 22, 2023
1 parent 2f6b130 commit 9f5aafd
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 10 deletions.
1 change: 0 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ The following is a curated list of changes in the Enact eslint config:

## [4.1.6] (July 4, 2023)

* Added `worker` environment.
* Fixed support for `ENACT_PACK_NO_ANIMATION` global

## [4.1.5] (May 17, 2023)
Expand Down
6 changes: 1 addition & 5 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ module.exports = {
ENACT_PACK_NO_ANIMATION: true
},
env: {
worker: true,
es6: true, // Enables ES6 globals
'shared-node-browser': true, // restrict to common globals to preserve isomorphic support
commonjs: true
Expand Down Expand Up @@ -94,10 +93,7 @@ module.exports = {
builtinGlobals: true,
hoist: 'all',
allow: [
'context',
'location',
'name',
'Notification'
'context'
]
}],
'no-throw-literal': 'error',
Expand Down
5 changes: 1 addition & 4 deletions strict.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,7 @@ module.exports = {
builtinGlobals: true,
hoist: 'all',
allow: [
'context',
'location',
'name',
'Notification'
'context'
]
}],
'no-undefined': 'error',
Expand Down

0 comments on commit 9f5aafd

Please sign in to comment.