Closed danharrin closed 11 months ago
Thanks for the report; I'll take a look sometime this week and let you know what I find out! :)
Excessive subsequent indentation resolved in 1.6.18
Thanks! Did you have a chance to wrap the whole thing in {{-- format-ignore-start --}}
?
Are you wrapping the entire component in that or just the attribute/parameter itself?
Wrapping the entire component deletes most of the component, wrapping the attribute throws a syntax error
Thanks for the extra info - I'll look into that and address it in an update sometime soon 🙂
@danharrin The issue with content being removed with {{-- format-ignore--start --}} {{-- format-ignore-end --}}
in certain scenarios has been addressed in 1.6.19
🙌
Thank you very much!
Wow, thanks for fixing this so swiftly, @JohnathonKoster!
Each time the formatter runs, it indents this conditional JS string further:
https://github.com/filamentphp/filament/pull/10289/files#diff-3a5f85b5a0bee7fed3a2d500962199457bc0fa36eff36c29c4773a55b525cddf
So over many PRs, this string gets worse and worse 😅
Another note: wrapping it in
ignore
just deletes most of the code inside it when the formatter next runs 😁