Some linter fixes. #298
Annotations
12 errors and 7 warnings
staticcheck:
actions.go#L113
type kickRequest is unused (U1000)
|
staticcheck:
actions.go#L118
type kickHandler is unused (U1000)
|
staticcheck:
actions.go#L123
func newKickHandler is unused (U1000)
|
staticcheck:
actions.go#L133
func kickHandler.autoKicker is unused (U1000)
|
staticcheck:
announce.go#L13
type announceHandler is unused (U1000)
|
staticcheck:
announce.go#L19
func newAnnounceHandler is unused (U1000)
|
staticcheck:
announce.go#L24
func announceHandler.announceMatch is unused (U1000)
|
staticcheck:
announce.go#L71
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:
platform/linux.go#L71
commentFormatting: put a space between `//` and comment text (gocritic)
|
lint-golangci
issues found
|
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/.
|
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#L67
unused-parameter: parameter 'steamRoot' seems to be unused, consider removing or renaming it as _ (revive)
|
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/
|