fix(vendor/flycheck-erblint): fix command name

This commit is contained in:
2024-11-05 00:30:20 +00:00
parent bc234bfe8a
commit 52ed1ddc82

View File

@@ -42,11 +42,6 @@
"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)
@@ -117,7 +112,7 @@ about erb-lint."
See URL `https://github.com/Shopify/erb-lint' for more information
about erb-lint."
:command (flycheck-erblint-command "--format" "json"
:command ("erb_lint" "--format" "json"
(config-file "--config" flycheck-erblint-config-filename)
"--stdin" source-original)
:standard-input t