palantir / tslint-react

:orange_book: Lint rules related to React & JSX for TSLint.
Apache License 2.0
749 stars 76 forks source link

New rule: jsx-indent #112

Closed mDibyo closed 5 years ago

mDibyo commented 7 years ago

Would be nice to implement: https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/jsx-indent.md

I am willing to give it a go.

adidahiya commented 7 years ago

I think the core TSLint indent rule should handle this since TypeScript parses JSX syntax anyway.

mDibyo commented 7 years ago

@adidahiya indent does not seem to be catching errors. This is probably related to https://github.com/palantir/tslint/issues/2814.

mattnedrich commented 6 years ago

Has this been fixed?

adidahiya commented 5 years ago

closing in favor of https://github.com/palantir/tslint/issues/2814

shubich commented 5 years ago

Has this been fixed?

My solution for this issue - https://gist.github.com/shubich/ee8ff287037783981e6511531d001163