devedbox/Commander

View on GitHub

Showing 375 of 376 total issues

Lines should not have trailing whitespace.
Open

        

Lines should not have trailing whitespace.
Open

  
Severity: Minor
Found in Sources/Commander/Error.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

  

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

          return "Type mismatch decoding error: \(ctx.debugDescription). \(DecodingError.__codingPathDescription(of: ctx.codingPath) ?? "")"

Types should be nested at most 1 level deep
Open

    internal struct Value: Hashable {

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

    {

Initializing an optional variable with nil is redundant.
Open

      var arrayContainer: [Value]? = nil

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

    

Lines should not have trailing whitespace.
Open

    

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 func decode<T : Decodable>(_ type: T.Type) throws -> T {

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

extension Float : _StringInitable, _StringStorable { }

File should contain 400 lines or less: currently contains 1110
Open

}

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

    }/* else if value is NSNumber /* FIXME: If swift-corelibs-foundation isn't updated to use NSNumber, this check will be necessary: || value is Int || value is Double */ {
Severity
Category
Status
Source
Language