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 "browser": true
}, },
"parserOptions": { "parserOptions": {
"ecmaVersion": 5 "ecmaVersion": 6,
"sourceType": "module"
}, },
"rules": { "rules": {
"no-underscore-dangle": 0 // Backbone uses underscores, we cannot remove them "no-underscore-dangle": 0 // Backbone uses underscores, we cannot remove them

View File

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