From 23ffc87ff5091d0db313fee523f246577fa6243d Mon Sep 17 00:00:00 2001 From: Chunpeng Huo Date: Sat, 2 May 2020 14:44:35 +1000 Subject: [PATCH] fix: fix lint task --- skeleton/cli-bundler/aurelia_project/tasks/lint.ext | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/skeleton/cli-bundler/aurelia_project/tasks/lint.ext b/skeleton/cli-bundler/aurelia_project/tasks/lint.ext index ee58feb06..e44d2bb87 100644 --- a/skeleton/cli-bundler/aurelia_project/tasks/lint.ext +++ b/skeleton/cli-bundler/aurelia_project/tasks/lint.ext @@ -1,6 +1,13 @@ -import /* @if feat.typescript */* as /* @endif */gulp from 'gulp'; -import /* @if feat.typescript */* as /* @endif */eslint from 'gulp-eslint'; -import /* @if feat.typescript */* as /* @endif */project from '../aurelia.json'; +// @if feat.babel +import gulp from 'gulp'; +import eslint from 'gulp-eslint'; +import project from '../aurelia.json'; +// @endif +// @if feat.typescript +import * as gulp from 'gulp'; +import * as eslint from 'gulp-eslint'; +import * as project from '../aurelia.json'; +// @endif export default function lint() { return gulp.src(project.transpiler.source)