Skip to content

Instantly share code, notes, and snippets.

@lbolla
Last active August 29, 2015 14:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lbolla/476a030ff2fe06445918 to your computer and use it in GitHub Desktop.
Save lbolla/476a030ff2fe06445918 to your computer and use it in GitHub Desktop.
(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