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

React JSX support breaks without @jsx pragma #39

Open
glifchits opened this issue Jan 6, 2015 · 3 comments
Open

React JSX support breaks without @jsx pragma #39

glifchits opened this issue Jan 6, 2015 · 3 comments

Comments

@glifchits
Copy link

Hey there, I've really been enjoying this plugin.

React.js version 0.12.0 and greater no longer requires the /** @jsx React.DOM */ pragma at the top of the file, but it breaks jshint.vim. I get Unrecoverable syntax error (x% scanned) on the first example of JSX syntax.

@roychoo
Copy link

roychoo commented Jan 15, 2015

Yeah I also got this. any workaround?

@glifchits
Copy link
Author

@roychoo not sure, but in the meantime, I switched to syntastic which has support for jsxhint. I don't think its as fast as this plugin was but it works with other syntax checkers as well.

@roychoo
Copy link

roychoo commented Jan 16, 2015

@glifchits got it thanks

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

2 participants