File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change 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
7477See `https://deno.land/manual@v1.29.1/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))
You can’t perform that action at this time.
0 commit comments