Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Enable javascript checker in js2-mode and js3-mode #51

Merged
merged 1 commit into from

2 participants

This page is out of date. Refresh to see the latest.
Showing with 2 additions and 2 deletions.
  1. +2 −2 flycheck.el
View
4 flycheck.el
@@ -1244,7 +1244,7 @@ output: %s\nChecker definition probably flawed."
:error-patterns
'(("^\\(?1:.*\\): line \\(?2:[0-9]+\\), col \\(?3:[0-9]+\\), \\(?4:.+\\)$"
error))
- :modes 'js-mode)
+ :modes '(js-mode js2-mode js3-mode))
(flycheck-declare-checker flycheck-checker-javascript-jsl
:command '("jsl" "-process" source)
@@ -1255,7 +1255,7 @@ output: %s\nChecker definition probably flawed."
warning)
("^\\(?1:.+\\)\:\\(?2:[0-9]+\\)\: strict \\(?4:warning: trailing comma.+\\)\:$"
warning))
- :modes 'js-mode)
+ :modes '(js-mode js2-mode js3-mode))
(flycheck-declare-checker flycheck-checker-json
:command '("jsonlint" "-c" "-q" source)
Something went wrong with that request. Please try again.