diff --git a/lib/gulp/tasks/scripts-lint.js b/lib/gulp/tasks/scripts-lint.js index c31012f..f077189 100644 --- a/lib/gulp/tasks/scripts-lint.js +++ b/lib/gulp/tasks/scripts-lint.js @@ -26,7 +26,13 @@ module.exports = function(settings, plugins, config) { 'strict': 0, 'import/no-unresolved': 0, 'no-new': 0, - } + }, + parser: 'babel-eslint', + parserOptions: { + ecmaFeatures: { + modules: true, + } + }, } ]; diff --git a/package.json b/package.json index b6dbc81..231cbe1 100644 --- a/package.json +++ b/package.json @@ -10,6 +10,7 @@ "dependencies": { "autoprefixer": "^6.4.0", "babel-core": "^6.13.2", + "babel-eslint": "^6.1.2", "babel-loader": "^6.2.5", "babel-plugin-transform-runtime": "^6.12.0", "babel-preset-es2015": "^6.13.2",