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

  

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 }

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

    

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

extension Int8  : _StringInitable, _StringStorable { }

Types should be nested at most 1 level deep
Open

      internal enum Error: String, Swift.Error {

Types should be nested at most 1 level deep
Open

    internal struct Value: Hashable {

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

    

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

      return "Unrecognized options\(path == nil ? "" : " for command '\(path!.command.symbol)'"): '\(options.joined(separator: " "))'."
Severity: Minor
Found in Sources/Commander/Error.swift by swiftlint

Lines should not have trailing whitespace.
Open

    
Severity
Category
Status
Source
Language