You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 19, 2021. It is now read-only.
Currently with a simple CS2 file with JSX I am getting lint errors:
# content-text.coffeeimportReactfrom'react'exportdefaultclassContentTextextendsReact.Componentrender:->
<divclassName="td-content-text">
Content Text
</div>
$ coffeelint --version
2.0.5
$ coffeelint content_text.coffee
✗ content_text.coffee
✗ #5: Colon assignment without proper spacing. Incorrect spacing around column 18.
✗ #5: a space is required after commas.
✗ #5: a space is required after commas.
✗ Lint! » 3 errors and 0 warnings in 1 file
The only JSX specific rule that I have in mind would be for the quotes style (simple/double).
JSX is now supported in CS2: http://coffeescript.org/#jsx
It would be awesome to have the syntax supported in coffeelint (it is currently reporting errors).
The text was updated successfully, but these errors were encountered: