Skip to content

Commit ea7a533

Browse files
committed
Add args
1 parent 395f4b6 commit ea7a533

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

flycheck-deno.el

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,9 @@
4141
:group 'flycheck
4242
:link '(url-link :tag "Repository" "https://github.com/jcs-elpa/flycheck-deno"))
4343

44+
(flycheck-def-args-var flycheck-deno-lint-args (deno-lint)
45+
:package-version '(flycheck-deno . "0.1.0"))
46+
4447
(defun flycheck-deno-parse-lint (output checker buffer)
4548
"Parse deno-lint errors from JSON OUTPUT.
4649
@@ -72,7 +75,9 @@ the BUFFER that was checked respectively."
7275
"Checker for deno source files.
7376
7477
See `https://deno.land/[email protected]/tools/linter'."
75-
:command ("deno" "lint" "--json" source)
78+
:command ("deno" "lint" "--json"
79+
(eval flycheck-deno-lint-args)
80+
source)
7681
:error-parser flycheck-deno-parse-lint
7782
:modes ( js-mode js2-mode js3-mode js-ts-mode
7883
typescript-mode typescript-ts-mode))

0 commit comments

Comments
 (0)