Skip to content

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

Предзащита

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

Triggered via pull request May 21, 2024 11:20
@DenAlNikDenAlNik
synchronize #8
development
Status Failure
Total duration 39s
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: 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)