devedbox/Commander

View on GitHub

Showing 375 of 376 total issues

Function body should span 40 lines or less excluding comments and whitespace: currently spans 58 lines
Open

  internal func describe(_ command: CommandDescribable.Type, path: String = "", usagePath: String? = nil) -> String {

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

      

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

Force tries should be avoided.
Open

    return try! Self.OptionKeys

Lines should not have trailing whitespace.
Open

  

Prefer != nil over let _ =
Open

        let _ = child.value as? OptionDescribable

Lines should not have trailing whitespace.
Open

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

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

      {

Opening braces should be preceded by a single space and on the same line as the declaration.
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

      

Lines should not have trailing whitespace.
Open

    

Lines should not have trailing whitespace.
Open

    

Lines should not have trailing whitespace.
Open

        
Severity
Category
Status
Source
Language