Showing 375 of 376 total issues
File should contain 400 lines or less: currently contains 1110 Open
Open
}
- Exclude checks
Function body should span 40 lines or less excluding comments and whitespace: currently spans 74 lines Open
Open
internal func container(from commandLineArgs: [String]) throws -> ObjectFormat.Value {
- Exclude checks
Function name should start with a lowercase character: '_typeMismatch(at:expectation:reality:)' Open
Open
fileprivate static func __typeMismatch(at path: [CodingKey], expectation: Any.Type, reality: Any?) -> DecodingError {
- Exclude checks
Opening braces should be preceded by a single space and on the same line as the declaration. Open
Open
{
- Exclude checks
Opening braces should be preceded by a single space and on the same line as the declaration. Open
Open
{
- Exclude checks
Lines should not have trailing whitespace. Open
Open
- Exclude checks
Lines should not have trailing whitespace. Open
Open
- Exclude checks
Lines should not have trailing whitespace. Open
Open
- Exclude checks
Lines should not have trailing whitespace. Open
Open
- Exclude checks
Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. Open
Open
public static let keys: [OptionKeys : Character] = [:]
- Exclude checks
Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. Open
Open
var arguments: [String: [ObjectFormat.Value]] = ["command-0":[]]
- Exclude checks
Line should be 120 characters or less: currently 129 characters Open
Open
throw OptionsDecoder.Error.unrecognizedArguments(Array(validArguments.values.flatMap { $0 }).compactMap { $0.unwrapped })
- Exclude checks
Opening braces should be preceded by a single space and on the same line as the declaration. Open
Open
{
- Exclude checks
Lines should not have trailing whitespace. Open
Open
- Exclude checks
Prefer != nil
over let _ =
Open
Open
let _ = child.value as? OptionDescribable
- Exclude checks
Line should be 120 characters or less: currently 135 characters Open
Open
return "Unrecognized options\(path == nil ? "" : " for command '\(path!.command.symbol)'"): '\(options.joined(separator: " "))'."
- Exclude checks
Setter value is not used. Open
Open
set { }
- Exclude checks
Lines should not have trailing whitespace. Open
Open
- Exclude checks
Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. Open
Open
} else if value is [String : Any] {
- Exclude checks
Setter value is not used. Open
Open
set { }
- Exclude checks