Skip to content

Commit

Permalink
fix: enable other eslint env options
Browse files Browse the repository at this point in the history
- `es2017`, `es2020`, and `worker`
  • Loading branch information
MarkH817 committed Aug 27, 2020
1 parent 7a0b36a commit 3928b02
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
{
"env": { "browser": true, "commonjs": true, "es6": true, "node": true },
"env": {
"browser": true,
"commonjs": true,
"es6": true,
"es2017": true,
"es2020": true,
"node": true,
"worker": true
},
"extends": [
"eslint:recommended",
"plugin:jest/recommended",
Expand Down
3 changes: 3 additions & 0 deletions test/__snapshots__/index.test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,11 @@ Object {
"env": Object {
"browser": true,
"commonjs": true,
"es2017": true,
"es2020": true,
"es6": true,
"node": true,
"worker": true,
},
"extends": Array [
"eslint:recommended",
Expand Down

0 comments on commit 3928b02

Please sign in to comment.