janraasch/gulp-coffeelint

Support for CJSX?

willembult opened this issue · 1 comments

Any chance we could add this? I've created a fork and it's as simple as requiring coffeelint-cjsx instead of coffeelint. Maybe we could pass in an option that changes the require?

That would not be compliant with gulp's plugin rules.

The best solution (according to a similar discussion on gulp-jshint, see spalger/gulp-jshint#55) would probably be to use the existing gulp-coffee-react-transform plugin and simply do

.pipe coffee_react_transform()
.pipe coffeelint()