Closed mDibyo closed 5 years ago
I think the core TSLint indent
rule should handle this since TypeScript parses JSX syntax anyway.
@adidahiya indent
does not seem to be catching errors. This is probably related to https://github.com/palantir/tslint/issues/2814.
Has this been fixed?
closing in favor of https://github.com/palantir/tslint/issues/2814
Has this been fixed?
My solution for this issue - https://gist.github.com/shubich/ee8ff287037783981e6511531d001163
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.