Showing 375 of 376 total issues
Fallthroughs can only be used if the case
contains at least one other statement. Open
Open
case "\"" where !isEscaping: fallthrough
- Exclude checks
Lines should not have trailing whitespace. Open
Open
- Exclude checks
Lines should not have trailing whitespace. Open
Open
- Exclude checks
Unused parameter "case" in a closure should be replaced with _. Open
Open
.compactMap { `case` -> (Self.OptionKeys, OptionDescription)? in
- Exclude checks
Opening braces should be preceded by a single space and on the same line as the declaration. Open
Open
{
- Exclude checks
Lines should not have trailing whitespace. Open
Open
- Exclude checks
Lines should not have trailing whitespace. Open
Open
- Exclude checks
Types should be nested at most 1 level deep Open
Open
internal enum CodingKeys: String, OptionKeysRepresentable, CodingKey {
- Exclude checks
Variable name should be between 3 and 40 characters long: 'c' Open
Open
.reduce(into: [:]) { $0[$1.key.stringValue] = $1.value }) { c, _ in c }
- Exclude checks
Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. Open
Open
public static let descriptions: [OptionKeys : OptionDescription] = [:]
- Exclude checks
Lines should not have trailing whitespace. Open
Open
- Exclude checks
Lines should not have trailing whitespace. Open
Open
- Exclude checks
Lines should not have trailing whitespace. Open
Open
- Exclude checks
Lines should not have trailing whitespace. Open
Open
- Exclude checks
Lines should not have trailing whitespace. Open
Open
- Exclude checks
Lines should not have trailing whitespace. Open
Open
- Exclude checks
Variable name should be between 3 and 40 characters long: 'c' Open
Open
.reduce(into: [:]) { $0[$1.key.stringValue] = $1.value }) { c, _ in c }
- Exclude checks
Lines should not have trailing whitespace. Open
Open
- Exclude checks
Lines should not have trailing whitespace. Open
Open
- Exclude checks
Opening braces should be preceded by a single space and on the same line as the declaration. Open
Open
{
- Exclude checks