mirror of
https://github.com/openseadragon/openseadragon.git
synced 2024-11-23 05:36:09 +03:00
Support ES6 Syntax
Bump ESLint's parser options to support ES6 syntax, which allows developers to start using a number of features associated with modern JavaScript. Doing this now that #2286 has been marked as resolved, since IE 11 support was the last known blocker for such changes.
This commit is contained in:
parent
ea54427f42
commit
ff67cf1cae
@ -6,11 +6,11 @@
|
|||||||
"plugin:compat/recommended"
|
"plugin:compat/recommended"
|
||||||
],
|
],
|
||||||
"env": {
|
"env": {
|
||||||
"es6": false,
|
"es6": true,
|
||||||
"browser": true
|
"browser": true
|
||||||
},
|
},
|
||||||
"parserOptions": {
|
"parserOptions": {
|
||||||
"ecmaVersion": 5,
|
"ecmaVersion": 6,
|
||||||
"sourceType": "script",
|
"sourceType": "script",
|
||||||
"ecmaFeatures": {
|
"ecmaFeatures": {
|
||||||
"globalReturn": false,
|
"globalReturn": false,
|
||||||
|
Loading…
Reference in New Issue
Block a user