Allow ES6 features in the old ES5 & tests linter setting

[MAILPOET-1829]
This commit is contained in:
Jan Jakeš
2019-02-20 12:24:20 +01:00
committed by M. Shull
parent b0c3972ab2
commit a2e89039c6
2 changed files with 4 additions and 2 deletions

View File

@@ -5,7 +5,8 @@
"browser": true
},
"parserOptions": {
"ecmaVersion": 5
"ecmaVersion": 6,
"sourceType": "module"
},
"rules": {
"no-underscore-dangle": 0 // Backbone uses underscores, we cannot remove them

View File

@@ -5,7 +5,8 @@
"mocha": true
},
"parserOptions": {
"ecmaVersion": 6
"ecmaVersion": 6,
"sourceType": "module"
},
"rules": {
"no-only-tests/no-only-tests": 2,