Skip to content

chore: lint fixes part 4#256

Open
pawbana wants to merge 1 commit intopb/coder-lint-fix3from
pb/coder-lint-fix4
Open

chore: lint fixes part 4#256
pawbana wants to merge 1 commit intopb/coder-lint-fix3from
pb/coder-lint-fix4

Conversation

@pawbana
Copy link
Copy Markdown
Contributor

@pawbana pawbana commented Apr 10, 2026

  • import-shadowing (11): renamed recorder parameter to rec in Setup() interface + all 9 implementations to avoid shadowing the recorder package import; renamed provider parameter to prov in
    newPassthroughRouter to avoid shadowing the provider package
  • unused-receiver (1): omitted receiver name on AsyncRecorder.RecordInterception panic method
  • context-as-argument (2): moved context.Context to first parameter in newBridgeTestServer and newMockUpstream, updated ~60 call sites
  • G306/gosec (2): tightened WriteFile permissions from 0o644 to 0o600 in API dump files
  • forcetypeassert (2): added nolint directives for sync.Map type assertions in circuit breaker (always stores the same type)

Copy link
Copy Markdown
Contributor Author

pawbana commented Apr 10, 2026

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant