diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md new file mode 100644 index 0000000..cd5c59f --- /dev/null +++ b/.github/pull_request_template.md @@ -0,0 +1,28 @@ +## What + +_What do the changes do?_ + +## Why + +_Why are these changes needed? Link any related issues._ + +## Test Plan + +_How were the changes tested? What should a reviewer do to verify them?_ + +## Dependencies + +- _Link to any dependent PRs or issues_ + +## Release Notes + +_What should users know about this change? Write as if addressing a library consumer._ + +## Screenshots + +_If applicable, include before/after output or benchmark results._ + +## Checklist + +- [ ] `make test` passes +- [ ] `make lint` passes diff --git a/.golangci.yml b/.golangci.yml index aec1731..772b31c 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -26,6 +26,15 @@ linters: # Performance - prealloc + exclusions: + rules: + # Test files get a looser pass on style rules. + - path: _test\.go + linters: + - gocritic + - revive + - gosec + settings: staticcheck: # Enable all check suites: SA (bugs), S (simplifications), ST (style), QF (quickfixes). @@ -89,11 +98,3 @@ formatters: issues: max-issues-per-linter: 0 max-same-issues: 0 - - exclude-rules: - # Test files get a looser pass on style rules. - - path: _test\.go - linters: - - gocritic - - revive - - gosec