Add nestif linter to .golangci.yml for model_directed_acyclic_graph.go #130
Annotations
11 errors
go-lint:
solution_move_stops_generator.go#L190
`if positionIdx > 0` has complex nested blocks (complexity: 7) (nestif)
|
go-lint:
solution_move_stops_generator.go#L128
unused-parameter: parameter 'locations' seems to be unused, consider removing or renaming it as _ (revive)
|
go-lint:
solution_move_stops_generator.go#L197
SA4006: this value of `combination` is never used (staticcheck)
|
go-lint:
model_constraint_successor_test.go#L491
sloppyTypeAssert: type assertion from/to types are identical (gocritic)
|
go-lint:
model_constraint_successor_test.go#L199
unused-parameter: parameter 'move' seems to be unused, consider removing or renaming it as _ (revive)
|
go-lint:
model_constraint_successor_test.go#L150
unnecessary trailing newline (whitespace)
|
go-lint:
model_constraint_successor_test.go#L270
unnecessary trailing newline (whitespace)
|
go-lint:
model_constraint_successor_test.go#L319
unnecessary trailing newline (whitespace)
|
go-lint:
model_constraint_successor_test.go#L330
ineffectual assignment to planned (ineffassign)
|
go-lint:
solution_move_stops_generator_test.go#L498
ineffectual assignment to err (ineffassign)
|
go-test
Process completed with exit code 1.
|