cgag / loc

Count lines of code quickly.
MIT License
2.31k stars 126 forks source link

Typescript + JSX #53

Closed theduke closed 6 years ago

theduke commented 7 years ago

Typescript files that contain JSX have the .tsx extension.

Those files are currently not recognized by loc.

cgag commented 6 years ago

This appears to be in master actually. I may have accepted a PR after this issue was opened. However, I see that the language is labeled as Tsx. Do you think that makes sense or do you think it should be lumped under typescript?

theduke commented 6 years ago

I think it makes sense as a separate language, but it should be labeled "Typescript JSX" rather than Tsx.

Just Tsx could be quite confusing.