He-Pin opened a new pull request, #760: URL: https://github.com/apache/pekko-grpc/pull/760
### Motivation Ensure consistent code style across the codebase by explicitly disabling Scala 3 specific syntax features that could lead to inconsistent formatting. ### Modification - Add `allowQuestionMarkPlaceholder = false` to `runner.dialectOverride` in `.scalafmt.conf` - Add `allowMatchAsExpr = false` to `runner.dialectOverride` in `.scalafmt.conf` - Document Scala 3 syntax restrictions in `CLAUDE.md` ### Result scalafmt now enforces restrictions on Scala 3 specific syntax including significant indentation, `as` import rename, `*` wildcard import, postfix `*` vararg splices, `?` placeholder, and `match` as expression. ### Tests Not run - configuration only ### References None - code style configuration -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
