Skip to content
This repository has been archived by the owner on Aug 22, 2021. It is now read-only.

Commit

Permalink
Fixed end of line problem with gulp-html-extract plugin on Windows. A…
Browse files Browse the repository at this point in the history
…dded yarn.lock to gitignore.
  • Loading branch information
sohrabtaee committed Jul 3, 2018
1 parent 2d4b264 commit e6d3979
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 10 deletions.
1 change: 1 addition & 0 deletions .gitignore
@@ -1,4 +1,5 @@
bower_components
node_modules
package-lock.json
yarn.lock
coverage
22 changes: 12 additions & 10 deletions gulpfile.js
@@ -1,15 +1,16 @@
'use strict';

var gulp = require('gulp');
var eslint = require('gulp-eslint');
var htmlExtract = require('gulp-html-extract');
var stylelint = require('gulp-stylelint');
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 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 @@ -34,6 +35,7 @@ gulp.task('lint:html', function() {
sel: 'script, code-example code',
strip: true
}))
.pipe(lec())
.pipe(eslint())
.pipe(eslint.format())
.pipe(eslint.failAfterError('fail'));
Expand Down
1 change: 1 addition & 0 deletions package.json
Expand Up @@ -35,6 +35,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 e6d3979

Please sign in to comment.