Skip to content

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

Предзащита

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

Triggered via pull request May 21, 2024 09:34
@m1roshm1rosh
synchronize #8
development
Status Failure
Total duration 43s
Artifacts

swiftlint.yml

on: pull_request
SwiftLint
34s
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: AllRecipesView.swift#L58
Control Statement Violation: `if`, `for`, `guard`, `switch`, `while`, and `catch` statements shouldn't unnecessarily wrap their conditionals or arguments in parentheses (control_statement)
SwiftLint: AllRecipesView.swift#L59
Control Statement Violation: `if`, `for`, `guard`, `switch`, `while`, and `catch` statements shouldn't unnecessarily wrap their conditionals or arguments in parentheses (control_statement)
SwiftLint: AllRecipesView.swift#L85
Control Statement Violation: `if`, `for`, `guard`, `switch`, `while`, and `catch` statements shouldn't unnecessarily wrap their conditionals or arguments in parentheses (control_statement)
SwiftLint: AllRecipesView.swift#L61
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: AllRecipesView.swift#L79
Statement Position Violation: Else and catch should be on the same line, one space after the previous declaration (statement_position)
SwiftLint: AllRecipesView.swift#L83
Statement Position Violation: Else and catch should be on the same line, one space after the previous declaration (statement_position)
SwiftLint: AllRecipesView.swift#L99
Statement Position Violation: Else and catch should be on the same line, one space after the previous declaration (statement_position)
SwiftLint: AllRecipesView.swift#L13
Trailing Whitespace Violation: Lines should not have trailing whitespace (trailing_whitespace)
SwiftLint: AllRecipesView.swift#L52
Trailing Whitespace Violation: Lines should not have trailing whitespace (trailing_whitespace)
SwiftLint: AllRecipesView.swift#L60
Unused Closure Parameter Violation: Unused parameter in a closure should be replaced with _ (unused_closure_parameter)