Development v0.2.0 #12
Annotations
10 errors
Lint:
internal/configuration/configuration.go#L14
Duplicate words (V) found (dupword)
|
Lint:
pkg/xcrawl3r/robots_strategy.go#L42
do not define dynamic errors, use wrapped static errors instead: "errors.New(\"unexpected status code\")" (err113)
|
Lint:
pkg/xcrawl3r/page_strategy.go#L21
nested context in function literal (fatcontext)
|
Lint:
pkg/xcrawl3r/xcrawl3r.go#L296
use of `fmt.Println` forbidden by pattern `^(fmt\.Print(|f|ln)|print|println)$` (forbidigo)
|
Lint:
pkg/xcrawl3r/utils.go#L23
ifElseChain: rewrite if-else to switch statement (gocritic)
|
Lint:
pkg/xcrawl3r/xcrawl3r.go#L191
regexpSimplify: can re-write `(?m).*?\.*(js|json|xml|csv|txt|map)(\?.*?|)$` as `(?m).*?\.*(js|json|xml|csv|txt|map)(|?)$` (gocritic)
|
Lint:
pkg/xcrawl3r/xcrawl3r.go#L205
commentedOutCode: may want to remove commented-out code (gocritic)
|
Lint:
pkg/xcrawl3r/xcrawl3r.go#L234
ifElseChain: rewrite if-else to switch statement (gocritic)
|
Lint:
pkg/xcrawl3r/xcrawl3r.go#L275
G402: TLS InsecureSkipVerify set true. (gosec)
|
Lint:
pkg/xcrawl3r/xcrawl3r.go#L227
S1009: should omit nil check; len() for []string is defined as zero (gosimple)
|