chore(taskfile): add `modernize` task
commit29800c488955f57c0fd52a9463b9ccf0b7473c4c
authorAndrey Nering <andreynering@users.noreply.github.com>
dateTue 10 Feb 2026, 11:08 (8 months ago)
parent9e4f8e0
Taskfile.yaml+5
@@ -88,6 +88,11 @@ tasks:
8888 cmds:
8989 - prettier --write internal/cmd/stats/index.html internal/cmd/stats/index.css internal/cmd/stats/index.js
9090
91+ modernize:
92+ desc: Run modernize
93+ cmds:
94+ - go run golang.org/x/tools/go/analysis/passes/modernize/cmd/modernize@latest -fix -test ./...
95+
9196 dev:
9297 desc: Run with profiling enabled
9398 env: