Skip to content

Commit

Permalink
Fix listing error;
Browse files Browse the repository at this point in the history
Warn on code-style issue;
  • Loading branch information
adametry committed Dec 8, 2015
1 parent adf2180 commit 7f190a6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ rules:
no-nested-ternary: 2
no-undefined: 2
radix: 2
space-before-function-paren: [2, "never"]
space-before-function-paren: [1, "never"]
space-after-keywords: [2, "always"]
space-before-blocks: 2
spaced-comment: [2, "always", { exceptions: ["-"]}]
Expand Down
2 changes: 1 addition & 1 deletion example/watch.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ gulp.task('cached-lint', function() {
// Only uncached and changed files past this point
.pipe(eslint())
.pipe(eslint.format())
.pipe(eslint.result(function (result) {
.pipe(eslint.result(function(result) {
if (result.warningCount > 0 || result.errorCount > 0) {
// If a file has errors/warnings remove uncache it
delete cache.caches.eslint[path.resolve(result.filePath)];
Expand Down

0 comments on commit 7f190a6

Please sign in to comment.