coredns/plugin/file/tree
Ville Vesilehto eeb1663847
lint: enable usetesting linter (#7322)
Enable the usetesting linter in golangci.yml configuration to
enforce proper testing practices. Replace manual temporary
directory and file creation with t.TempDir() in test files.

This improves test reliability by ensuring proper cleanup and
follows Go testing best practices.

Signed-off-by: Ville Vesilehto <ville@vesilehto.fi>
2025-05-27 10:02:55 -07:00
..
all.go plugin/file: Rename do to walk and cleanup and document (#2987) 2019-07-18 17:44:47 +00:00
auth_walk.go plugin/sign: fix signing of authoritative data (#3479) 2019-12-06 19:54:31 +00:00
elem.go plugin/file: Rename do to walk and cleanup and document (#2987) 2019-07-18 17:44:47 +00:00
glue.go plugin/file: simplify locking (#3024) 2019-07-23 18:32:44 +00:00
less_test.go add golangci-lint linter (#5499) 2022-07-10 11:06:33 -07:00
less.go Replacing 'HTTP' by 'HTTPS' for securing links (#2591) 2019-02-21 07:21:25 +00:00
print_test.go lint: enable usetesting linter (#7322) 2025-05-27 10:02:55 -07:00
print.go plugin/file: Fix print tree error (#4962) 2021-11-19 16:18:31 +00:00
tree.go cleanup: remove redundant return statement (#3297) 2019-09-23 14:40:14 +01:00
walk.go plugin/sign: fix signing of authoritative data (#3479) 2019-12-06 19:54:31 +00:00