Skip to content

Conversation

AnthonyLatsis
Copy link
Contributor

@AnthonyLatsis AnthonyLatsis commented Jun 29, 2025

Unexpectedly, an omitted rule tells swift-format to ignore it altogether rather than assume the default setting.

This change applies the default configuration, retaining current settings and disabling 3 default-enabled rules: DoNotUseSemicolons, NoAccessLevelOnExtensionDeclaration, and DontRepeatTypeInStaticProperties. The latter is disabled due to undesired effect:

warning: [DontRepeatTypeInStaticProperties] remove the suffix 'Paths' from the name of the variable 'envSearchPaths'

Unexpectedly, an omitted rule tells swift-format to ignore it altogether
rather than assume the default setting.

This change applies the default configuration, retaining current
settings and disabling 3 default-enabled rules: `DoNotUseSemicolons`,
`NoAccessLevelOnExtensionDeclaration`, and
`DontRepeatTypeInStaticProperties`. The latter is disabled due to
undesired effect:

```
warning: [DontRepeatTypeInStaticProperties] remove the suffix 'Paths' from the name of the variable 'envSearchPaths'
```
@AnthonyLatsis
Copy link
Contributor Author

@swift-ci please test

@AnthonyLatsis
Copy link
Contributor Author

@swift-ci please test macOS

@AnthonyLatsis AnthonyLatsis merged commit 9e40b40 into main Aug 8, 2025
104 of 107 checks passed
@AnthonyLatsis AnthonyLatsis deleted the jepa branch August 8, 2025 15:52
ahoppen added a commit to ahoppen/sourcekit-lsp that referenced this pull request Aug 11, 2025
Apply the exhaustive swift-format configuration from swiftlang/swift-syntax#3117 to sourcekit-lsp. Also apply all automatic formattings.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants