Skip to content

Commit

Permalink
Configure parser: use ES2017
Browse files Browse the repository at this point in the history
Also drop AMD support, we were not using it anyway.

This effectively drops IE11 and legacy Edge, as they can't parse ES2017.
  • Loading branch information
mroderick committed Mar 12, 2021
1 parent a05b116 commit 621c2f1
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -303,12 +303,7 @@ module.exports = {
"env": {
"browser": true,
"node": true,
"amd": true,
"es6": false
},
"parserOptions": {
"ecmaVersion": 5,
"ecmaFeatures": {},
"es2017": true
},
"plugins": [
"jsdoc",
Expand Down

0 comments on commit 621c2f1

Please sign in to comment.