v3.5.3
Bug fixes
- RedundantParens: detect enclosed trees properly (#3207) @kitbellew
- AvoidInfix: handle targs and multi-arg case (#3201) @kitbellew
- RedundantParens: handle infix arg if not enclosed (#3202) @kitbellew
- FormatOps: fix bug with block in if/while cond (#3206) @kitbellew
- Router: for scala3, move NL before macro to after (#3199) @kitbellew
- Imports: put
given
at end of sorted selectors (#3191) @kitbellew
Dynamic error reporting
- ScalafmtReflect: improve parseConfigWith error (#3197) @kitbellew
- ScalafmtReporter: allow null cause in 3-arg error (#3198) @kitbellew
- ScalafmtDynamicError: use instead of UnknownError (#3196) @kitbellew
- UnknownConfigError: improve the error message (#3194) @kitbellew
- ScalafmtReflect: don't wrap in UnknownError (#3195) @kitbellew
- CorruptedClassPath: pass URL instances, not String (#3193) @kitbellew
Dependency updates
- Scalameta: upgrade to v4.5.5 (#3200) @kitbellew
- Update scalafmt-core to 3.5.2 (#3190) @scala-steward