Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

flycheck checker #6

Open
nyuichi opened this issue Jan 17, 2014 · 2 comments
Open

flycheck checker #6

nyuichi opened this issue Jan 17, 2014 · 2 comments

Comments

@nyuichi
Copy link
Member

nyuichi commented Jan 17, 2014

No description provided.

@pedroteixeira
Copy link

flycheck works by adding:
(require 'flycheck)
(flycheck-define-checker jsxhint-checker
"A JSX syntax and style checker based on JSXHint."

                     :command ("jsxhint" source)
                     :error-patterns
                     ((error line-start (1+ nonl) ": line " line ", col " column ", " (message) line-end))
                     :modes (jsx-mode))

(add-hook 'jsx-mode-hook (lambda ()
(flycheck-select-checker 'jsxhint-checker)
(flycheck-mode)))

@sabof
Copy link

sabof commented Oct 29, 2014

This is a flycheck ticket

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants