Skip to content

Commit

Permalink
chore(vendor/erblint): change command to erb_lint
Browse files Browse the repository at this point in the history
  • Loading branch information
jimeh committed Nov 5, 2024
1 parent 0c12470 commit bc234bf
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion vendor/erblintfmt/erblintfmt.el
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
:group 'languages
:link '(url-link "https://github.com/jimeh/erblintfmt.el"))

(defcustom erblintfmt-erblint-command "erblint"
(defcustom erblintfmt-erblint-command "erb_lint"
"Name of erblint executable."
:type 'string
:group 'erblintfmt)
Expand Down
7 changes: 6 additions & 1 deletion vendor/flycheck-erblint/flycheck-erblint.el
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,11 @@
"Check files with erblint via flycheck."
:group 'tools)

(defcustom flycheck-erblint-command "erb_lint"
"Name of erblint executable."
:type 'string
:group 'flycheck-erblint)

(defcustom flycheck-erblint-extra-args nil
"Extra arguments to pass to erblint."
:type '(repeat string)
Expand Down Expand Up @@ -112,7 +117,7 @@ about erb-lint."
See URL `https://github.com/Shopify/erb-lint' for more information
about erb-lint."
:command ("erblint" "--format" "json"
:command (flycheck-erblint-command "--format" "json"
(config-file "--config" flycheck-erblint-config-filename)
"--stdin" source-original)
:standard-input t
Expand Down

0 comments on commit bc234bf

Please sign in to comment.