From 7f190a69c609fa09942c7456bd0c3a409221d8da Mon Sep 17 00:00:00 2001 From: Adam Reeves Date: Tue, 8 Dec 2015 17:02:44 -0600 Subject: [PATCH] Fix listing error; Warn on code-style issue; --- .eslintrc | 2 +- example/watch.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.eslintrc b/.eslintrc index 6724dc1..7b7803d 100644 --- a/.eslintrc +++ b/.eslintrc @@ -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: ["-"]}] diff --git a/example/watch.js b/example/watch.js index e6cabec..4661b0a 100644 --- a/example/watch.js +++ b/example/watch.js @@ -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)];