Skip to content

Commit

Permalink
chore(gulp): update jscs usage
Browse files Browse the repository at this point in the history
  • Loading branch information
dustinspecker committed Oct 30, 2015
1 parent 196551f commit 1bdd5f9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
3 changes: 2 additions & 1 deletion .jscsrc
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"esnext": true,
"disallowDanglingUnderscores": true,
"disallowEmptyBlocks": true,
"disallowKeywords": [
Expand Down Expand Up @@ -97,4 +98,4 @@
},
"validateIndentation": 2,
"validateQuoteMarks": "'"
}
}
5 changes: 2 additions & 3 deletions gulpfile.babel.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,8 @@ gulp.task('lint', () => {
.pipe(eslint())
.pipe(eslint.formatEach('./node_modules/eslint-path-formatter'))
.pipe(eslint.failOnError())
.pipe(jscs({
esnext: true
}))
.pipe(jscs())
.pipe(jscs.reporter('fail'))
.pipe(jscs.reporter())
.pipe(jshint());
});
Expand Down

0 comments on commit 1bdd5f9

Please sign in to comment.