Skip to content

Commit

Permalink
chore(eslint): Adding es2020 as env - FRONT-4701
Browse files Browse the repository at this point in the history
  • Loading branch information
planctus committed Dec 18, 2024
1 parent d4af60d commit c7084fc
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 2 deletions.
1 change: 1 addition & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ module.exports = {
ECL: 'writable',
},
env: {
es2020: true,
node: true,
browser: true,
},
Expand Down
1 change: 0 additions & 1 deletion src/presets/ec/src/ec-esm.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@ const ECL = {
export { ECL };

if (typeof globalThis !== 'undefined') {
// eslint-disable-next-line no-undef
globalThis.ECL = ECL;
} else if (typeof window !== 'undefined') {
window.ECL = ECL;
Expand Down
1 change: 0 additions & 1 deletion src/presets/eu/src/eu-esm.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@ const ECL = {
export { ECL };

if (typeof globalThis !== 'undefined') {
// eslint-disable-next-line no-undef
globalThis.ECL = ECL;
} else if (typeof window !== 'undefined') {
window.ECL = ECL;
Expand Down

0 comments on commit c7084fc

Please sign in to comment.