lyft/react-javascript-to-typescript-transform

Tslint integration?

akx opened this issue · 3 comments

akx commented

It would be nice if Tslint was also integrated somehow, since Prettier is.

Right now my workflow is running the CLI followed by tslint --fix (well, integrated into PyCharm, but that's beside the point) on the transformed files, followed by manual adjustments.

It would be nice to have that too. What kind of things you see tslint is fixing?

akx commented

It's converting Props/State types to interfaces (which is a policy question) (with semicolons instead of commas), adding trailing commas, etc.

I suppose the transform could just look for a tslint.json in the project root, and if one exists, run tslint --fix on the generated file?

Thank you for you contribution to this repository.

Closing this contribution as this repository is being archived.