Open michaelficarra opened 12 years ago
Hey, I did some work on the syntax checker to get coffee lint support a while back. What needs to change for redux? Maybe I can get it done?
It should be easy, actually. You pretty much just need to update the file pointed to above to use my compiler's flags instead of the original's. And remove coffeelint. Then just open a pull request and let it sit until this hits 2.0.
Why does coffeelint need to be removed?
coffeelint uses the old compiler, which fails on many perfectly valid constructs. Nested interpolations, for instance.
Ok, as of now, the coffeelint and coffeescript compiler checkers are split apart.
Do you think it'll be reasonable/possible to make the coffeescript compiler one automatically sniff out if redux is present?
Maybe a --version
test or something?
I'd like to make it "just work" without needing to keep a long-running pull-request up to date.
Testing --version
sounds like an excellent idea.
Ok, I'll test for 2.0
in the version output and change the call accordingly.
Make sure it doesn't misidentify 1.2.0
.
https://github.com/scrooloose/syntastic/blob/master/syntax_checkers/coffee/coffee.vim