Skip to content

Commit

Permalink
Merge pull request #21 from dustinspecker/greenkeeper-eslint-config-d…
Browse files Browse the repository at this point in the history
…ustinspecker-0.2.5

Update eslint-config-dustinspecker to version 0.2.5 🚀
  • Loading branch information
dustinspecker committed Jan 4, 2016
2 parents 0c9cb1d + 972dc22 commit 4549f34
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
18 changes: 9 additions & 9 deletions gulpfile.babel.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ const configFiles = './gulpfile.babel.js'

gulp.task('clean', () => del(destDir));

gulp.task('lint', ['clean'], () => {
return gulp.src([configFiles, srcFiles, testFiles])
gulp.task('lint', ['clean'], () =>
gulp.src([configFiles, srcFiles, testFiles])
.pipe(eslint())
.pipe(eslint.formatEach('./node_modules/eslint-path-formatter'))
.pipe(eslint.failOnError())
Expand All @@ -27,19 +27,19 @@ gulp.task('lint', ['clean'], () => {
.pipe(jscs.reporter('fail'))
.pipe(jshint())
.pipe(jshint.reporter('default'))
.pipe(jshint.reporter('fail'));
});
.pipe(jshint.reporter('fail'))
);

gulp.task('compile', ['lint'], () => {
return gulp.src(srcFiles)
gulp.task('compile', ['lint'], () =>
gulp.src(srcFiles)
.pipe(babel())
.pipe(gulp.dest(destDir));
});
.pipe(gulp.dest(destDir))
);

gulp.task('build', ['compile']);

gulp.task('test', ['build'], cb => {
gulp.src([destDir + '*.js'])
gulp.src([`${destDir}*.js`])
.pipe(istanbul())
.pipe(istanbul.hookRequire())
.on('finish', () => {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"chai": "^3.0.0",
"coveralls": "^2.11.2",
"del": "^2.0.0",
"eslint-config-dustinspecker": "^0.1.0",
"eslint-config-dustinspecker": "^0.2.5",
"eslint-path-formatter": "^0.1.1",
"eslint-plugin-new-with-error": "^1.1.0",
"eslint-plugin-no-use-extend-native": "^0.3.1",
Expand Down

0 comments on commit 4549f34

Please sign in to comment.