diff --git a/lib/commands/new/buildsystems/cli/transpilers/babel.js b/lib/commands/new/buildsystems/cli/transpilers/babel.js index f95688573..9c2baad44 100644 --- a/lib/commands/new/buildsystems/cli/transpilers/babel.js +++ b/lib/commands/new/buildsystems/cli/transpilers/babel.js @@ -12,7 +12,8 @@ module.exports = function(project) { ProjectItem.resource('.eslintrc.json', 'content/eslintrc.json'), ProjectItem.resource('.babelrc', 'content/babelrc') ).addToTasks( - ProjectItem.resource('transpile.js', 'tasks/transpile.js') + ProjectItem.resource('transpile.js', 'tasks/transpile.js'), + ProjectItem.resource('lint.js', 'tasks/lint.js') ).addToDevDependencies( 'babel-eslint', 'babel-plugin-syntax-flow', diff --git a/lib/commands/new/buildsystems/cli/transpilers/typescript.js b/lib/commands/new/buildsystems/cli/transpilers/typescript.js index 01bd1af04..a59c92593 100644 --- a/lib/commands/new/buildsystems/cli/transpilers/typescript.js +++ b/lib/commands/new/buildsystems/cli/transpilers/typescript.js @@ -12,7 +12,8 @@ module.exports = function(project) { .asTemplate(project.model), ProjectItem.directory('custom_typings') ).addToTasks( - ProjectItem.resource('transpile.ts', 'tasks/transpile.ts') + ProjectItem.resource('transpile.ts', 'tasks/transpile.ts'), + ProjectItem.resource('lint.ts', 'tasks/lint.ts') ).addToDevDependencies( 'event-stream', 'gulp-typescript',