Allow ES6 features in the old ES5 & tests linter setting
[MAILPOET-1829]
This commit is contained in:
@@ -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
|
||||||
|
@@ -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,
|
||||||
|
Reference in New Issue
Block a user