You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Prompt message "main.go:5:6: func tmp is unused (U1000)" in "Flycheck errors"
System configuration
Syntax checkers for buffer main.go in go-mode:
First checker to run:
lsp (explicitly selected)
- may enable: yes
- may run: t
Checkers that could run if selected:
go-gofmt select
- may enable: yes
- executable: Found at /usr/local/go/bin/gofmt
- next checkers: go-vet, go-build, go-test, go-errcheck, go-unconvert, go-staticcheck
go-vet select
- may enable: yes
- executable: Found at /usr/local/go/bin/go
- go tool vet: present
- next checkers: go-build, go-test, go-errcheck, go-unconvert, go-staticcheck
go-build select
- may enable: yes
- may run: t
- executable: Found at /usr/local/go/bin/go
- next checkers: go-errcheck, go-unconvert, go-staticcheck
go-errcheck select
- may enable: yes
- may run: t
- executable: Found at /Users/johnwilson/go/bin/errcheck
- next checkers: go-unconvert, go-staticcheck
go-unconvert select
- may enable: yes
- may run: t
- executable: Found at /Users/johnwilson/go/bin/unconvert
go-staticcheck select
- may enable: yes
- executable: Found at /Users/johnwilson/go/bin/staticcheck
Checkers that are compatible with this mode, but will not run until properly configured:
go-test
- may enable: yes
- may run: nil
- executable: Found at /usr/local/go/bin/go
- next checkers: go-errcheck, go-unconvert, go-staticcheck
Flycheck Mode is enabled. Use C-u C-c ! x to enable disabled
checkers.
--------------------
Flycheck version: 34.1
Emacs version: 29.1
System: aarch64-apple-darwin21.6.0
Window system: ns
Checklist
Problem description
"go-staticcheck" cannot check
The tmp method is not used, there should be a prompt
Steps to reproduce
Steps to reproduce the behavior:
Expected behavior
Prompt message "main.go:5:6: func tmp is unused (U1000)" in "Flycheck errors"
System configuration
Emacs configuration:
init.el
The text was updated successfully, but these errors were encountered: