Skip to content

Предзащита #72

Предзащита

Предзащита #72

Triggered via pull request May 20, 2024 21:21
@DenAlNikDenAlNik
synchronize #8
development
Status Failure
Total duration 37s
Artifacts

swiftlint.yml

on: pull_request
SwiftLint
30s
SwiftLint
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 10 warnings
SwiftLint: LiveRecipes/DB/RecipeDataManager.swift#L135
Force Cast Violation: Force casts should be avoided (force_cast)
SwiftLint: LiveRecipes/DB/RecipeDataManager.swift#L91
Line Length Violation: Line should be 200 characters or less; currently it has 201 characters (line_length)
SwiftLint: LiveRecipes/Services/NetworkService/Target/Recipe.swift#L188
Function Parameter Count Violation: Function should have 5 parameters or less: it currently has 14 (function_parameter_count)
SwiftLint: LiveRecipes/Services/NetworkService/Target/Recipe.swift#L220
Function Parameter Count Violation: Function should have 5 parameters or less: it currently has 14 (function_parameter_count)
SwiftLint: LiveRecipes/Services/NetworkService/Target/Recipe.swift#L17
Line Length Violation: Line should be 200 characters or less; currently it has 258 characters (line_length)
SwiftLint: LiveRecipes/Services/NetworkService/Target/Recipe.swift#L91
Line Length Violation: Line should be 200 characters or less; currently it has 219 characters (line_length)
SwiftLint: LiveRecipes/Services/NetworkService/Target/Recipe.swift#L188
Line Length Violation: Line should be 200 characters or less; currently it has 333 characters (line_length)
SwiftLint: LiveRecipes/Services/NetworkService/Target/Recipe.swift#L220
Line Length Violation: Line should be 200 characters or less; currently it has 335 characters (line_length)
SwiftLint: LiveRecipes/Services/NetworkService/Target/Recipe.swift#L221
Line Length Violation: Line should be 200 characters or less; currently it has 355 characters (line_length)
SwiftLint: LiveRecipes/Services/NetworkService/Target/Recipe.swift#L102
Shorthand Operator Violation: Prefer shorthand operators (+=, -=, *=, /=) over doing the operation and assigning (shorthand_operator)
SwiftLint: TimerActivityWidget/CustomProgressViewStyle.swift#L22
Line Length Violation: Line should be 120 characters or less; currently it has 167 characters (line_length)
SwiftLint: TimerActivityWidget/CustomProgressViewStyle.swift#L19
Opening Brace Spacing Violation: Opening braces should be preceded by a single space and on the same line as the declaration (opening_brace)
SwiftLint: TimerActivityWidget/CustomProgressViewStyle.swift#L12
Trailing Whitespace Violation: Lines should not have trailing whitespace (trailing_whitespace)
SwiftLint: MyRecipesView.swift#L29
Control Statement Violation: `if`, `for`, `guard`, `switch`, `while`, and `catch` statements shouldn't unnecessarily wrap their conditionals or arguments in parentheses (control_statement)
SwiftLint: MyRecipesView.swift#L57
Empty Parentheses with Trailing Closure Violation: When using trailing closures, empty parentheses should be avoided after the method call (empty_parentheses_with_trailing_closure)
SwiftLint: MyRecipesView.swift#L28
Function Body Length Violation: Function body should span 50 lines or less excluding comments and whitespace: currently spans 61 lines (function_body_length)
SwiftLint: MyRecipesView.swift#L73
Multiple Closures with Trailing Closure Violation: Trailing closure syntax should not be used when passing more than one closure argument (multiple_closures_with_trailing_closure)
SwiftLint: MyRecipesView.swift#L79
Multiple Closures with Trailing Closure Violation: Trailing closure syntax should not be used when passing more than one closure argument (multiple_closures_with_trailing_closure)
SwiftLint: MyRecipesView.swift#L79
Opening Brace Spacing Violation: Opening braces should be preceded by a single space and on the same line as the declaration (opening_brace)
SwiftLint: MyRecipesView.swift#L15
Trailing Whitespace Violation: Lines should not have trailing whitespace (trailing_whitespace)