Skip to content

Commit

Permalink
fix: enable es6 env
Browse files Browse the repository at this point in the history
This is needed for JS files and `no-undef`, notably for `Promise`: eslint/eslint#9812.
  • Loading branch information
axelboc authored Aug 10, 2022
1 parent 3978ce9 commit 458b3b5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/utils/defaultsAndDetection.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ export const detectEnv = (
return {
browser,
node,
es6: true,
...customEnv,
};
};
Expand Down

0 comments on commit 458b3b5

Please sign in to comment.