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

Fixed end of line problem with gulp-html-extract plugin on Windows. A… #143

Merged
merged 1 commit into from Jul 3, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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