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 41
41
:group 'flycheck
42
42
:link '(url-link :tag " Repository" " https://github.com/jcs-elpa/flycheck-deno" ))
43
43
44
+ (flycheck-def-args-var flycheck-deno-lint-args (deno-lint)
45
+ :package-version '(flycheck-deno . " 0.1.0" ))
46
+
44
47
(defun flycheck-deno-parse-lint (output checker buffer )
45
48
" Parse deno-lint errors from JSON OUTPUT.
46
49
@@ -72,7 +75,9 @@ the BUFFER that was checked respectively."
72
75
" Checker for deno source files.
73
76
74
77
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 )
76
81
:error-parser flycheck-deno-parse-lint
77
82
:modes ( js-mode js2-mode js3-mode js-ts-mode
78
83
typescript-mode typescript-ts-mode))
You can’t perform that action at this time.
0 commit comments