Danny Mösch
Danny Mösch
There is no specific rule to check class names only. However, you can configure the `type_name` rule by adding a set of `excluded` types to the `.swiftlint.yml` properties file. That...
> In anticipation of possible requirements to initialise all optionals explicitly ... Would you like to share a pointer to the Evolution Proposal or other sources potentially leading to this...
> About item 4: what do you think of having a configuration to allow some numbers? 0 and 1 are so common and understandable that this rule without configuration may...
To just get an idea of the used identifiers in your code base, you could define a custom rule. Custom rules are regex-based but should be sufficient for this purpose.
Are you on Xcode 14/Swift 5.7?
> Xcode 13.4, Swift 5.6.1. On HEAD, you need to build with Swift 5.7 now, see [CHANGELOG](https://github.com/realm/SwiftLint/blob/main/CHANGELOG.md#breaking).
Thank you for all the (re-)work and your patience, @benjamin-kramer!
In my opinion, there is nothing we can really do about that. When working with certain frameworks it is simply unavoidable to reference these types in some way. The rule...
There is currently work going on in #4176.
If you think that the `line_length` and `trailing_whitespace` rules do not work correctly then please file issues for them explaining what exactly does not work well in your opinion. It's...