Skip to content

Commit

Permalink
Use '-' instead of '--' for stdin
Browse files Browse the repository at this point in the history
'--' is deprecated in joker v0.9.7
  • Loading branch information
candid82 committed Sep 13, 2018
1 parent 0d8d568 commit 51e99e6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Then add the following to your init.el:
(require 'flycheck-joker)
```

Make sure Joker binary is on your path. See [Joker installation instructions](https://github.com/candid82/joker#installation) for details.
Make sure Joker binary is on your path. Joker version __0.9.7__ or greater is required. See [Joker installation instructions](https://github.com/candid82/joker#installation) for details.

Please read about [Joker's linter mode](https://github.com/candid82/joker#linter-mode) to understand its capabilities and limitations. Specifically, it's important to [configure Joker](https://github.com/candid82/joker#reducing-false-positives) to reduce false positives.

Expand Down
10 changes: 5 additions & 5 deletions flycheck-joker.el
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
;;
;; Author: Roman Bataev <roman.bataev@gmail.com>
;; Created: 12 February 2017
;; Version: 0.1
;; Version: 1.3.0
;; Package-Requires: ((flycheck "0.18"))

;;; Commentary:
Expand All @@ -14,7 +14,7 @@

;; (require 'flycheck-joker)

;; Make sure Joker binary is on your path.
;; Make sure Joker binary is on your path. Joker version v0.9.7 or greater is required.
;; Joker installation instructions are here: https://github.com/candid82/joker#installation
;;
;; Please read about Joker's linter mode to understand its capabilities and limitations:
Expand Down Expand Up @@ -52,7 +52,7 @@
"A Clojure syntax checker using Joker.
See URL `https://github.com/candid82/joker'."
:command ("joker" "--lint" "--")
:command ("joker" "--lint" "-")
:standard-input t
:error-patterns
((error line-start "<stdin>:" line ":" column ": " (0+ not-newline) (or "error: " "Exception: ") (message) line-end)
Expand All @@ -64,7 +64,7 @@
"A ClojureScript syntax checker using Joker.
See URL `https://github.com/candid82/joker'."
:command ("joker" "--lintcljs" "--")
:command ("joker" "--lintcljs" "-")
:standard-input t
:error-patterns
((error line-start "<stdin>:" line ":" column ": " (0+ not-newline) (or "error: " "Exception: ") (message) line-end)
Expand All @@ -74,7 +74,7 @@
(flycheck-define-checker edn-joker
"EDN syntax checker using Joker.
See URL `https://github.com/candid82/joker'."
:command ("joker" "--lintedn" "--")
:command ("joker" "--lintedn" "-")
:standard-input t
:error-patterns
((error line-start "<stdin>:" line ":" column ": " (0+ not-newline) (or "error: " "Exception: ") (message) line-end)
Expand Down

0 comments on commit 51e99e6

Please sign in to comment.