From 29aa1bbe9beb57bb3be64a06fa058ce30bc3cf2e Mon Sep 17 00:00:00 2001 From: Chris Born Date: Wed, 7 Mar 2018 09:12:02 -0800 Subject: [PATCH] add --force-exclusion flag to reek options Force excluding files specified in the configuration `exclude_paths` even if they are explicitly passed as arguments. --- src/lint/lib/linters/reek.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lint/lib/linters/reek.js b/src/lint/lib/linters/reek.js index 5236e9fba..c7f61150e 100644 --- a/src/lint/lib/linters/reek.js +++ b/src/lint/lib/linters/reek.js @@ -6,7 +6,7 @@ function Reek(opts) { this.path = opts.path; this.responsePath = "stdout"; this.errorPath = "stderr"; - this.args = ["-f", "json"]; + this.args = ["-f", "json", "--force-exclusion"]; } Reek.prototype.processResult = function(data) {