Skip to content

chore: lint fixes part 2#254

Open
pawbana wants to merge 1 commit intopb/coder-lint-fix1from
pb/coder-lint-fix2
Open

chore: lint fixes part 2#254
pawbana wants to merge 1 commit intopb/coder-lint-fix1from
pb/coder-lint-fix2

Conversation

@pawbana
Copy link
Copy Markdown
Contributor

@pawbana pawbana commented Apr 10, 2026

  • var-naming: HttpErr → HTTPErr, inputJson → inputJSON, strJson → strJSON, Name_ → NameStr (Go naming conventions)
  • var-declaration: removed redundant []string type annotation
  • unconvert: removed unnecessary string() conversion
  • sprintfQuotedString: "%s" → %q (4 locations)
  • elseif: else { if } → else if
  • early-return: inverted conditions to eliminate else blocks (3 locations)
  • superfluous-else: removed else after break/continue (2 locations)
  • unnecessary-stmt: single-case switch → if type assertion (4 locations)
  • empty-block: added nolint directive for intentionally swallowed panic recovery

Copy link
Copy Markdown
Contributor Author

pawbana commented Apr 10, 2026

@pawbana pawbana changed the title chore: lint fix1 chore: manual lint fix 1 Apr 10, 2026
@pawbana pawbana force-pushed the pb/coder-lint-fix2 branch from a5dbc5a to f5e7578 Compare April 10, 2026 11:25
@pawbana pawbana force-pushed the pb/coder-lint-fix1 branch from a599656 to bdb5386 Compare April 10, 2026 11:28
@pawbana pawbana force-pushed the pb/coder-lint-fix2 branch from f5e7578 to 2220451 Compare April 10, 2026 11:28
@pawbana pawbana force-pushed the pb/coder-lint-fix1 branch from bdb5386 to 2bc6469 Compare April 10, 2026 12:23
@pawbana pawbana force-pushed the pb/coder-lint-fix2 branch from 2220451 to 6c82ff7 Compare April 10, 2026 12:23
@pawbana pawbana changed the title chore: manual lint fix 1 chore: lint fixes part 2 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