Skip to content

Commit

Permalink
Add --force-exclusion flag to rubocop command
Browse files Browse the repository at this point in the history
Fixes and closes GH-1348
  • Loading branch information
Simplify committed Oct 26, 2017
1 parent 66b0e49 commit b6c3139
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion flycheck.el
Expand Up @@ -9082,7 +9082,10 @@ Otherwise report style issues as well."
You need at least RuboCop 0.34 for this syntax checker.

See URL `http://batsov.com/rubocop/'."
:command ("rubocop" "--display-cop-names" "--format" "emacs"
:command ("rubocop"
"--display-cop-names"
"--force-exclusion"
"--format" "emacs"
;; Explicitly disable caching to prevent Rubocop 0.35.1 and earlier
;; from caching standard input. Later versions of Rubocop
;; automatically disable caching with --stdin, see
Expand Down

0 comments on commit b6c3139

Please sign in to comment.