Last active
August 29, 2015 14:09
-
-
Save lbolla/476a030ff2fe06445918 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(flycheck-define-checker javascript-flow | |
"A JavaScript syntax and style checker using Flow. | |
See URL `http://flowtype.org/'." | |
:command ("flow" source-original) | |
:error-patterns | |
((error line-start | |
(file-name) | |
":" | |
line | |
":" | |
(minimal-match (one-or-more not-newline)) | |
": " | |
(message (minimal-match (and (one-or-more anything) "\n"))) | |
line-end)) | |
:modes js-mode) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment