gitea/services/gitdiff
silverwind f7f55a356f
Update tool dependencies and fix new lint issues (#36702)
## Summary
- Update golangci-lint v2.9.0 → v2.10.1, misspell v0.7.0 → v0.8.0,
actionlint v1.7.10 → v1.7.11
- Fix 20 new QF1012 staticcheck findings by using `fmt.Fprintf` instead
of `WriteString(fmt.Sprintf(...))`
- Fix SA1019: replace deprecated `ecdsa.PublicKey` field access with
`PublicKey.Bytes()` for JWK encoding, with SEC 1 validation and curve
derived from signing algorithm
- Add unit test for `ToJWK()` covering P-256, P-384, and P-521 curves,
also verifying correct coordinate padding per RFC 7518
- Remove dead staticcheck linter exclusion for "argument x is
overwritten before first use"

## Test plan
- [x] `make lint-go` passes with 0 issues
- [x] `go test ./services/oauth2_provider/ -run
TestECDSASigningKeyToJWK` passes for all curves

🤖 Generated with [Claude Code](https://claude.com/claude-code)

---------

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-26 19:13:19 +00:00
..
csv.go Enable `nilnil` linter for new code (#36591) 2026-02-16 09:57:18 +00:00
csv_test.go Remove incorrect "db.DefaultContext" usages (#35366) 2025-08-28 03:52:43 +00:00
git_diff_tree.go Improve diff file headers (#36215) 2026-01-12 20:29:35 +08:00
git_diff_tree_test.go Remove incorrect "db.DefaultContext" usages (#35366) 2025-08-28 03:52:43 +00:00
gitdiff.go Update tool dependencies and fix new lint issues (#36702) 2026-02-26 19:13:19 +00:00
gitdiff_excerpt.go Refactor highlight and diff (#36599) 2026-02-13 00:15:46 +00:00
gitdiff_excerpt_test.go Use full-file highlighting for diff sections (#36561) 2026-02-10 03:29:28 +00:00
gitdiff_test.go Use full-file highlighting for diff sections (#36561) 2026-02-10 03:29:28 +00:00
highlightdiff.go Fine tune diff highlighting (#36592) 2026-02-12 07:01:36 +00:00
highlightdiff_test.go Refactor highlight and diff (#36599) 2026-02-13 00:15:46 +00:00
main_test.go make writing main test easier (#27270) 2023-09-28 01:38:53 +00:00
submodule.go Improve submodule relative path handling (#35056) 2025-07-14 23:28:34 +08:00
submodule_test.go Remove incorrect "db.DefaultContext" usages (#35366) 2025-08-28 03:52:43 +00:00