devedbox/Commander

View on GitHub

Showing 375 of 376 total issues

Fallthroughs can only be used if the case contains at least one other statement.
Open

      case "\""      where !isEscaping: fallthrough
Severity: Minor
Found in Sources/Utility/String+.swift by swiftlint

Lines should not have trailing whitespace.
Open

    
Severity: Minor
Found in Sources/Utility/String+.swift by swiftlint

Lines should not have trailing whitespace.
Open

      

Unused parameter "case" in a closure should be replaced with _.
Open

      .compactMap { `case` -> (Self.OptionKeys, OptionDescription)? in

Opening braces should be preceded by a single space and on the same line as the declaration.
Open

  {

Lines should not have trailing whitespace.
Open

    
Severity: Minor
Found in Sources/Commander/Commander.swift by swiftlint

Lines should not have trailing whitespace.
Open

        
Severity: Minor
Found in Sources/Commander/Commander.swift by swiftlint

Types should be nested at most 1 level deep
Open

    internal enum CodingKeys: String, OptionKeysRepresentable, CodingKey {

Variable name should be between 3 and 40 characters long: 'c'
Open

          .reduce(into: [:]) { $0[$1.key.stringValue] = $1.value }) { c, _ in c }

Colons should be next to the identifier when specifying a type and next to the key in dictionary literals.
Open

    public static let descriptions: [OptionKeys : OptionDescription] = [:]

Lines should not have trailing whitespace.
Open

      

Lines should not have trailing whitespace.
Open

    

Lines should not have trailing whitespace.
Open

    

Lines should not have trailing whitespace.
Open

    

Lines should not have trailing whitespace.
Open

  

Lines should not have trailing whitespace.
Open

  
Severity: Minor
Found in Sources/Commander/Commander.swift by swiftlint

Variable name should be between 3 and 40 characters long: 'c'
Open

          .reduce(into: [:]) { $0[$1.key.stringValue] = $1.value }) {  c, _ in c }

Lines should not have trailing whitespace.
Open

  

Lines should not have trailing whitespace.
Open

  

Opening braces should be preceded by a single space and on the same line as the declaration.
Open

  {
Severity
Category
Status
Source
Language