google / gts

☂️ TypeScript style guide, formatter, and linter.
https://github.com/google/gts
Apache License 2.0
5.08k stars 206 forks source link

Indent continuation lines is not enforced? #744

Closed saadlu closed 1 week ago

saadlu commented 1 year ago

Google's javascript style insists to have indent of 4 spaces when continuing a line:

https://google.github.io/styleguide/jsguide.html#formatting-indent

How come Google's TypeScript Style (and thereby gts) does not enforce that? Is there no such concept of that in prettier?

tonycoco commented 7 months ago

Prettier has stated that there are no more options for us to put in to fix this inconsistency.

https://github.com/prettier/prettier/issues/11897