Skip to content
This repository was archived by the owner on Jul 14, 2020. It is now read-only.

Commit 3d3596d

Browse files
committed
eslint: restore previous behavoir
1 parent bc80b75 commit 3d3596d

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

lib/gulp/tasks/scripts-lint.js

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,13 @@ module.exports = function(settings, plugins, config) {
2626
'strict': 0,
2727
'import/no-unresolved': 0,
2828
'no-new': 0,
29-
}
29+
},
30+
parser: 'babel-eslint',
31+
parserOptions: {
32+
ecmaFeatures: {
33+
modules: true,
34+
}
35+
},
3036
}
3137
];
3238

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
"dependencies": {
1111
"autoprefixer": "^6.4.0",
1212
"babel-core": "^6.13.2",
13+
"babel-eslint": "^6.1.2",
1314
"babel-loader": "^6.2.5",
1415
"babel-plugin-transform-runtime": "^6.12.0",
1516
"babel-preset-es2015": "^6.13.2",

0 commit comments

Comments
 (0)