Fix subDirs to return correctly aged ones (#101) #708
Annotations
10 errors and 11 warnings
golangci-lint:
neaten/neaten.go#L390
usage of time.Local (gosmopolitan)
|
golangci-lint:
neaten/neaten.go#L419
usage of time.Local (gosmopolitan)
|
golangci-lint:
main_test.go#L1858
1858-1876 lines are duplicate of `main_test.go:1878-1896` (dupl)
|
golangci-lint:
main_test.go#L1878
1878-1896 lines are duplicate of `main_test.go:1858-1876` (dupl)
|
golangci-lint:
main_test.go#L1955
1955-1978 lines are duplicate of `main_test.go:947-983` (dupl)
|
golangci-lint:
main_test.go#L1938
1938-1953 lines are duplicate of `main_test.go:1955-1974` (dupl)
|
golangci-lint:
basedirs/tsv.go#L43
Function 'ParseConfig' is too long (34 > 30) (funlen)
|
golangci-lint:
basedirs/db.go#L372
`if existing != nil` has complex nested blocks (complexity: 2) (nestif)
|
golangci-lint:
summary/usergroup_test.go#L140
interface method Add must have named param for type string (inamedparam)
|
golangci-lint:
basedirs/history.go#L141
Magic number: 2, in <case> detected (mnd)
|
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-go@v3, actions/checkout@v3, golangci/golangci-lint-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
golangci-lint:
cmd/tidy.go#L90
unused-parameter: parameter 'cmd' seems to be unused, consider removing or renaming it as _ (revive)
|
golangci-lint:
cmd/walk.go#L90
unused-parameter: parameter 'cmd' seems to be unused, consider removing or renaming it as _ (revive)
|
golangci-lint:
cmd/chtsv.go#L46
unused-parameter: parameter 'cmd' seems to be unused, consider removing or renaming it as _ (revive)
|
golangci-lint:
cmd/basedir.go#L132
unused-parameter: parameter 'cmd' seems to be unused, consider removing or renaming it as _ (revive)
|
golangci-lint:
cmd/cleanup.go#L60
unused-parameter: parameter 'cmd' seems to be unused, consider removing or renaming it as _ (revive)
|
golangci-lint:
cmd/cleanup.go#L101
unused-parameter: parameter 'd' seems to be unused, consider removing or renaming it as _ (revive)
|
golangci-lint:
cmd/mergedbs.go#L52
unused-parameter: parameter 'cmd' seems to be unused, consider removing or renaming it as _ (revive)
|
golangci-lint:
cmd/combine.go#L66
unused-parameter: parameter 'cmd' seems to be unused, consider removing or renaming it as _ (revive)
|
golangci-lint:
cmd/multi.go#L145
unused-parameter: parameter 'cmd' seems to be unused, consider removing or renaming it as _ (revive)
|
golangci-lint:
cmd/version.go#L43
unused-parameter: parameter 'cmd' seems to be unused, consider removing or renaming it as _ (revive)
|
Loading