Skip to content

Commit

Permalink
Fixed end of line problem with gulp-html-extract plugin on Windows.
Browse files Browse the repository at this point in the history
  • Loading branch information
sohrabtaee committed Jul 5, 2018
1 parent 79926b1 commit 60c8568
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 11 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@ bower_components*
node_modules
bower-*.json
package-lock.json
yarn.lock
coverage
24 changes: 13 additions & 11 deletions gulpfile.js
Original file line number Diff line number Diff line change
@@ -1,16 +1,17 @@
'use strict';

var gulp = require('gulp');
var eslint = require('gulp-eslint');
var htmlExtract = require('gulp-html-extract');
var stylelint = require('gulp-stylelint');
var wct = require('web-component-tester').test;
var find = require('gulp-find');
var replace = require('gulp-replace');
var expect = require('gulp-expect-file');
var grepContents = require('gulp-grep-contents');
var clip = require('gulp-clip-empty-files');
var git = require('gulp-git');
const gulp = require('gulp');
const eslint = require('gulp-eslint');
const htmlExtract = require('gulp-html-extract');
const lec = require('gulp-line-ending-corrector');
const stylelint = require('gulp-stylelint');
const wct = require('web-component-tester').test;
const find = require('gulp-find');
const replace = require('gulp-replace');
const expect = require('gulp-expect-file');
const grepContents = require('gulp-grep-contents');
const clip = require('gulp-clip-empty-files');
const git = require('gulp-git');

gulp.task('lint', ['lint:js', 'lint:html', 'lint:css']);

Expand All @@ -35,6 +36,7 @@ gulp.task('lint:html', function() {
sel: 'script, code-example code',
strip: true
}))
.pipe(lec())
.pipe(eslint())
.pipe(eslint.format())
.pipe(eslint.failAfterError());
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
"gulp-git": "^2.4.2",
"gulp-grep-contents": "0.0.1",
"gulp-html-extract": "^0.3.0",
"gulp-line-ending-corrector": "^1.0.2",
"gulp-replace": "^0.6.1",
"gulp-stylelint": "^7.0.0",
"stylelint": "^9.0.0",
Expand Down

0 comments on commit 60c8568

Please sign in to comment.