Commit 9ab5aa7
committed
chore: disable additional Scala 3 specific syntax in scalafmt
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 dialectOverride
- Add allowMatchAsExpr = false to dialectOverride
- 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 configuration1 parent 5623d10 commit 9ab5aa7
1 file changed
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
9 | 10 | | |
10 | 11 | | |
11 | 12 | | |
| |||
0 commit comments