Skip to content

Commit

Permalink
Revert "WRQ-214: Support web-worker global variables (#78)" (#82)
Browse files Browse the repository at this point in the history
This reverts commit 6b3cd25.
  • Loading branch information
hong6316 authored Feb 26, 2024
1 parent b9d4171 commit 9307aab
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 9 deletions.
4 changes: 0 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,6 @@

The following is a curated list of changes in the Enact eslint config:

## unreleased

* Added `worker` environment.

## [4.2.0] (January 3, 2024)

* Added `@rushstack/eslint-patch` to support eslint shareable config.
Expand Down
1 change: 0 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,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
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 9307aab

Please sign in to comment.