Skip to content

Update .swiftlint.yml #15

Update .swiftlint.yml

Update .swiftlint.yml #15

Triggered via push February 17, 2024 12:10
Status Success
Total duration 21s
Artifacts

ios.yml

on: push
Lint code with SwiftLint
9s
Lint code with SwiftLint
Fit to window
Zoom out
Zoom in

Annotations

11 warnings
Lint code with SwiftLint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Lint code with SwiftLint: PlistDesign/PlistDesignTests/MockNetwork.swift#L14
Colons should be next to the identifier when specifying a type and next to the key in dictionary literals (colon)
Lint code with SwiftLint: PlistDesign/PlistDesignTests/MockNetwork.swift#L24
There should be no space before and one after any comma (comma)
Lint code with SwiftLint: PlistDesign/PlistDesignTests/MockNetwork.swift#L35
`if`, `for`, `guard`, `switch`, `while`, and `catch` statements shouldn't unnecessarily wrap their conditionals or arguments in parentheses (control_statement)
Lint code with SwiftLint: PlistDesign/PlistDesignTests/MockNetwork.swift#L15
Opening braces should be preceded by a single space and on the same line as the declaration (opening_brace)
Lint code with SwiftLint: PlistDesign/PlistDesignTests/MockNetwork.swift#L25
Opening braces should be preceded by a single space and on the same line as the declaration (opening_brace)
Lint code with SwiftLint: PlistDesign/PlistDesignTests/MockNetwork.swift#L29
Opening braces should be preceded by a single space and on the same line as the declaration (opening_brace)
Lint code with SwiftLint: PlistDesign/PlistDesignTests/MockNetwork.swift#L32
Opening braces should be preceded by a single space and on the same line as the declaration (opening_brace)
Lint code with SwiftLint: PlistDesign/PlistDesignTests/MockNetwork.swift#L32
Else and catch should be on the same line, one space after the previous declaration (statement_position)
Lint code with SwiftLint: PlistDesign/PlistDesignTests/MockNetwork.swift#L39
Lines should not have trailing whitespace (trailing_whitespace)
Lint code with SwiftLint: PlistDesign/PlistDesignTests/PlistDesignTests.swift#L55
There should be no space before and one after any comma (comma)