chore: rename option WithMaxFPS to simply WithFPS #1530
Annotations
10 errors and 1 warning
lint-soft:
commands.go#L16
Consider pre-allocating `validCmds` (prealloc)
|
lint-soft:
mouse.go#L70
Consider pre-allocating `r` (prealloc)
|
lint-soft:
logging.go#L35
mnd: Magic number: 0o644, in <argument> detected (gomnd)
|
lint-soft:
tty.go#L43
mnd: Magic number: 10, in <argument> detected (gomnd)
|
lint-soft:
tty.go#L101
mnd: Magic number: 500, in <argument> detected (gomnd)
|
lint-soft:
mouse.go#L81
mnd: Magic number: 3, in <condition> detected (gomnd)
|
lint-soft:
key.go#L574
error returned from interface method should be wrapped: sig: func (io.Reader).Read(p []byte) (n int, err error) (wrapcheck)
|
lint-soft:
key.go#L579
error returned from external package is unwrapped: sig: func github.com/mattn/go-localereader.UTF8(b []byte) ([]byte, error) (wrapcheck)
|
lint-soft:
logging.go#L37
error returned from external package is unwrapped: sig: func os.OpenFile(name string, flag int, perm io/fs.FileMode) (*os.File, error) (wrapcheck)
|
lint-soft:
tty.go#L23
error returned from interface method should be wrapped: sig: func (github.com/containerd/console.Console).SetRaw() error (wrapcheck)
|
lint-soft
Restore cache failed: Dependencies file is not found in /home/runner/work/bubbletea/bubbletea. Supported file pattern: go.sum
|