lint fix

AuthorKonata <konata@posteo.jp>
Date
Commit43cb93c8ce136670b8b91343c2212c8d86e600a4
Parentd219326
1 file changed, 2 insertions(+)
▾M.golangci.yml
@@ -19,6 +19,7 @@ linters:
- (io.Closer).Close
- (*os.File).Close
- (*database/sql.Rows).Close
- (*archive/zip.ReadCloser).Close
- (*database/sql.Tx).Rollback
- os.Remove
- os.RemoveAll
@@ -34,6 +35,7 @@ linters:
- G203 # the only template.HTML is rendered template output, not user input
- G204 # running yt-dlp, ffmpeg and ffprobe with request args is the core of this program
- G301 # library and temp directories are meant to be world-readable
- G302 # the managed yt-dlp and deno binaries have to be executable
- G304 # paths come from LibraryService.resolveItemDir, which rejects escapes
- G702 # taint analysis: same as G204
- G703 # taint analysis: same as G304