Refactor to remove detector struct and use sqlc #293
Annotations
22 errors and 9 warnings
lint-golangci:
api.go#L321
Error return value of `player.LastVacBanOn.Scan` is not checked (errcheck)
|
lint-golangci:
store/store.go#L7
File is not `gci`-ed with --skip-generated -s standard -s default (gci)
|
lint-golangci:
store/store.go#L11
File is not `gci`-ed with --skip-generated -s standard -s default (gci)
|
lint-golangci:
platform/linux.go#L8
File is not `gci`-ed with --skip-generated -s standard -s default (gci)
|
lint-golangci:
store/store.go#L46
assignOp: replace `dsn = dsn + "?cache=shared&mode=rwc"` with `dsn += "?cache=shared&mode=rwc"` (gocritic)
|
lint-golangci:
platform/linux.go#L70
commentFormatting: put a space between `//` and comment text (gocritic)
|
lint-golangci:
platform/linux.go#L75
commentFormatting: put a space between `//` and comment text (gocritic)
|
lint-golangci:
platform/linux.go#L77
commentFormatting: put a space between `//` and comment text (gocritic)
|
lint-golangci:
discord.go#L220
discord.go:220: Line contains TODO/BUG/FIXME: "TODO" (godox)
|
lint-golangci:
process_state.go#L49
process_state.go:49: Line contains TODO/BUG/FIXME: "TODO Move outside of here" (godox)
|
lint-ts:
frontend/vite.config.ts#L35
Delete `⏎`
|
lint-ts
Process completed with exit code 1.
|
staticcheck:
actions.go#L112
type kickRequest is unused (U1000)
|
staticcheck:
actions.go#L117
type kickHandler is unused (U1000)
|
staticcheck:
actions.go#L122
func newKickHandler is unused (U1000)
|
staticcheck:
actions.go#L132
func kickHandler.autoKicker is unused (U1000)
|
staticcheck:
announce.go#L12
type announceHandler is unused (U1000)
|
staticcheck:
announce.go#L18
func newAnnounceHandler is unused (U1000)
|
staticcheck:
announce.go#L23
func announceHandler.announceMatch is unused (U1000)
|
staticcheck:
announce.go#L70
func announceHandler.sendChat is unused (U1000)
|
staticcheck:
console.go#L212
func (*LogParser).start is unused (U1000)
|
staticcheck:
domain.go#L16
var errReadResponse is unused (U1000)
|
lint-golangci
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: golangci/golangci-lint-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
lint-golangci:
platform/linux.go#L66
unused-parameter: parameter 'steamRoot' seems to be unused, consider removing or renaming it as _ (revive)
|
lint-golangci:
api.go#L113
indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (revive)
|
lint-golangci:
settings.go#L176
indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (revive)
|
lint-ts
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Analyze (javascript)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: github/codeql-action/init@v2, github/codeql-action/autobuild@v2, github/codeql-action/analyze@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Analyze (javascript)
CodeQL Action v2 will be deprecated on December 5th, 2024. Please update all occurrences of the CodeQL Action in your workflow files to v3. For more information, see https://github.blog/changelog/2024-01-12-code-scanning-deprecation-of-codeql-action-v2/
|
Analyze (go)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: github/codeql-action/init@v2, github/codeql-action/autobuild@v2, github/codeql-action/analyze@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Analyze (go)
CodeQL Action v2 will be deprecated on December 5th, 2024. Please update all occurrences of the CodeQL Action in your workflow files to v3. For more information, see https://github.blog/changelog/2024-01-12-code-scanning-deprecation-of-codeql-action-v2/
|