Skip to content
This repository was archived by the owner on Jul 31, 2023. It is now read-only.

Commit 29aa1bb

Browse files
authored
add --force-exclusion flag to reek options
Force excluding files specified in the configuration `exclude_paths` even if they are explicitly passed as arguments.
1 parent 0a78aee commit 29aa1bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lint/lib/linters/reek.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ function Reek(opts) {
66
this.path = opts.path;
77
this.responsePath = "stdout";
88
this.errorPath = "stderr";
9-
this.args = ["-f", "json"];
9+
this.args = ["-f", "json", "--force-exclusion"];
1010
}
1111

1212
Reek.prototype.processResult = function(data) {

0 commit comments

Comments
 (0)