Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 0 additions & 21 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,30 +12,9 @@ linters:
enable:
# Build / correctness (must always pass)
- govet
- staticcheck
- ineffassign
- nilerr
- errorlint
# Security (only G204 subprocess execution; G301/G304/G306 are temporarily
# excluded because the existing codebase has hundreds of pre-existing findings
# that require a dedicated cleanup sprint).
- gosec
settings:
gosec:
excludes:
- G104 # duplicate of errcheck
- G301 # directory permissions (large pre-existing debt)
- G304 # file inclusion via variable (large pre-existing debt)
- G306 # file write permissions (large pre-existing debt)
exclusions:
generated: strict
rules:
# Tests may use weaker patterns deliberately (fixtures, temp perms)
- path: _test\.go
linters:
- gosec
- nilerr
- errorlint
# Generated / vendored tree-sitter grammars
- path: third.party/
linters:
Expand Down
Loading