Fix subDirs to return correctly aged ones (#101) #708
Annotations
10 errors and 11 warnings
lint:
neaten/neaten.go#L390
usage of time.Local (gosmopolitan)
|
lint:
neaten/neaten.go#L419
usage of time.Local (gosmopolitan)
|
lint:
main_test.go#L1858
1858-1876 lines are duplicate of `main_test.go:1878-1896` (dupl)
|
lint:
main_test.go#L1878
1878-1896 lines are duplicate of `main_test.go:1858-1876` (dupl)
|
lint:
main_test.go#L1955
1955-1978 lines are duplicate of `main_test.go:947-983` (dupl)
|
lint:
main_test.go#L1938
1938-1953 lines are duplicate of `main_test.go:1955-1974` (dupl)
|
lint:
basedirs/tsv.go#L43
Function 'ParseConfig' is too long (34 > 30) (funlen)
|
lint:
basedirs/db.go#L372
`if existing != nil` has complex nested blocks (complexity: 2) (nestif)
|
lint:
summary/usergroup_test.go#L140
interface method Add must have named param for type string (inamedparam)
|
lint:
basedirs/history.go#L141
Magic number: 2, in <case> detected (mnd)
|
lint
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/
|
lint:
cmd/tidy.go#L90
unused-parameter: parameter 'cmd' seems to be unused, consider removing or renaming it as _ (revive)
|
lint:
cmd/walk.go#L90
unused-parameter: parameter 'cmd' seems to be unused, consider removing or renaming it as _ (revive)
|
lint:
cmd/chtsv.go#L46
unused-parameter: parameter 'cmd' seems to be unused, consider removing or renaming it as _ (revive)
|
lint:
cmd/basedir.go#L132
unused-parameter: parameter 'cmd' seems to be unused, consider removing or renaming it as _ (revive)
|
lint:
cmd/cleanup.go#L60
unused-parameter: parameter 'cmd' seems to be unused, consider removing or renaming it as _ (revive)
|
lint:
cmd/cleanup.go#L101
unused-parameter: parameter 'd' seems to be unused, consider removing or renaming it as _ (revive)
|
lint:
cmd/mergedbs.go#L52
unused-parameter: parameter 'cmd' seems to be unused, consider removing or renaming it as _ (revive)
|
lint:
cmd/combine.go#L66
unused-parameter: parameter 'cmd' seems to be unused, consider removing or renaming it as _ (revive)
|
lint:
cmd/multi.go#L145
unused-parameter: parameter 'cmd' seems to be unused, consider removing or renaming it as _ (revive)
|
lint:
cmd/version.go#L43
unused-parameter: parameter 'cmd' seems to be unused, consider removing or renaming it as _ (revive)
|