From 7dd7c8df3b06c1c9cbb19da04a961a3f947bccb6 Mon Sep 17 00:00:00 2001 From: Alex Yatskov Date: Sun, 9 Nov 2014 12:38:59 +0900 Subject: [PATCH] Remove linting --- gulpfile.js | 9 ++------- package.json | 1 - 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/gulpfile.js b/gulpfile.js index 792bd7c..6008851 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -52,11 +52,6 @@ function getBowerFiles(extension) { return resultPaths; } -gulp.task('lint', function() { - var scripts = ['*.js', 'client/scripts/*.js', 'server/*.js']; - gulp.src(scripts).pipe(jshint()); -}); - gulp.task('images', function() { return gulp.src('client/images/*').pipe(gulp.dest('client/dist/images')); }); @@ -75,14 +70,14 @@ gulp.task('styles', function() { return gulp.src(styles).pipe(replace('../fonts/', './fonts/')).pipe(concat('styles.css')).pipe(minifyCss()).pipe(gulp.dest('client/dist')); }); -gulp.task('html_dev', ['lint'], function() { +gulp.task('html_dev', function() { var sources = gulp.src(getBowerFiles('.css').concat(getBowerFiles('.js')).concat(['client/scripts/*.js', 'client/styles/*.css']), {read: false}); var target = 'client/html/index.html'; var options = {addRootSlash: false, ignorePath: 'client'}; return gulp.src(target).pipe(inject(sources, options)).pipe(gulp.dest('client')); }); -gulp.task('html_dist', ['lint', 'fonts', 'images', 'scripts', 'styles'], function() { +gulp.task('html_dist', ['fonts', 'images', 'scripts', 'styles'], function() { var sources = gulp.src(['client/dist/*.js', 'client/dist/*.css'], {read: false}); var options = {addRootSlash: false, ignorePath: 'client/dist'}; var target = 'client/html/index.html'; diff --git a/package.json b/package.json index 9119f6d..33842f7 100644 --- a/package.json +++ b/package.json @@ -17,7 +17,6 @@ "gulp-concat": "^2.4.1", "gulp-inject": "^1.0.2", "gulp-install": "^0.2.0", - "gulp-jshint": "^1.8.5", "gulp-minify-css": "^0.3.10", "gulp-minify-html": "^0.1.5", "gulp-nodemon": "^1.0.4",