-
I might not be understanding the purpose of the apheleia indent step but I think it's resulting in code that's not properly formatted. I'm trying to format typescript/javascript on save and what is returned by apheleia is not what prettier suggests. I was confused for a bit why there is consistently an extra 4 spaces returned by apheleia when prettier is using an indent level of two spaced. I looked in the codebase here and it seems apheleia pipes most/all code through the given formatter and then pipes that through its own indentation function. Trying to understand the logic and point of overriding the formatter here and either working with apheleia or just ripping this indentation out of all the configurations. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 13 replies
-
Where are you seeing that Apheleia is performing an additional indentation step besides what the formatter suggests? |
Beta Was this translation helpful? Give feedback.
Give #211 a try.