devedbox/Commander

View on GitHub

Showing 375 of 376 total issues

Lines should not have trailing whitespace.
Open

    

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

    internal mutating func decode<T : Decodable>(_ type: T.Type) throws -> T {

File should contain 400 lines or less: currently contains 1110
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

    

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

  

Types should be nested at most 1 level deep
Open

    public typealias Argument = String

Lines should not have trailing whitespace.
Open

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

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

  

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

    case let t where t.isEmpty == false:

Lines should not have trailing whitespace.
Open

  

Lines should not have trailing whitespace.
Open

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

Line should be 120 characters or less: currently 121 characters
Open

  internal static func transform<S, T>(reflecting subject: S, _ transform: (Mirror.Child) throws -> T?) rethrows -> [T] {

Line should be 120 characters or less: currently 138 characters
Open

  /// Returns all coding keys for the `OptionKeysRepresentable` confirming types by reflecting the given subject and fetchs all the infos.
Severity
Category
Status
Source
Language