issues
search
dominikh
/
go-tools
Staticcheck - The advanced Go linter
https://staticcheck.dev
MIT License
6.21k
stars
377
forks
source link
issues
Newest
Newest
Most commented
Recently updated
Oldest
Least commented
Least recently updated
all: fix typos in comments; remove dupwords
#1618
alexandear
opened
2 weeks ago
2
website: add defaults for dot_import_whitelist
#1617
alexandear
opened
2 weeks ago
0
False positive with generic interface and generic type
#1616
errrov
opened
2 weeks ago
0
Detect never-nil interface returns
#1615
FiloSottile
opened
2 weeks ago
1
SA4023: docs references Go blog article using wrong link
#1614
jkitajima
closed
3 weeks ago
1
Quick fix 1002 suggests use of tagged switch statement inappropriately
#1613
seh
closed
1 month ago
3
Fix typo in "Targeting Go versions" doc
#1612
arjan-bal
closed
1 month ago
0
Prevent OOM cases with closed channels.
#1611
fogfish
opened
1 month ago
1
U1000 false positive if variable is used as part of initialization expression with side effects
#1610
hkeide
opened
1 month ago
0
SA4006: check misses some seemingly-simple cases
#1609
cespare
closed
1 month ago
4
simple: flag uses of strings.CutPrefix/CutSuffix that should use strings.TrimPrefix/TrimSuffix instead
#1608
cespare
opened
1 month ago
0
"potential nil panic" where it's not possible
#1607
kevinburkesegment
closed
1 month ago
1
simple/s1009: add checks for redundant "x == nil || len(x) < N"
#1606
spencerschrock
closed
1 month ago
0
simple: S1009 doesn't handle `if x == nil || len(x) < N` redundant nil-checks
#1605
spencerschrock
closed
1 month ago
0
unused: assume all fields for a struct marked with structs.HostLayout are used
#1604
cespare
closed
2 months ago
2
Add "go install" command to the startpage
#1603
phikal
opened
2 months ago
0
U1000: A false positive with generics
#1602
mbobrovskyi
closed
2 months ago
2
Feature Request: detect & suggest (os.File).Write([]byte("normal looking string")) -> (os.File).WriteString("normal looking string")
#1601
cwedgwood
opened
2 months ago
1
build(deps): bump micromatch from 4.0.5 to 4.0.8 in /website
#1600
dependabot[bot]
opened
2 months ago
0
build(deps): bump actions/download-artifact from 3 to 4.1.7 in /.github/workflows
#1599
dependabot[bot]
opened
2 months ago
0
website: getting started site lists the packages weird
#1598
tom-wegener
opened
2 months ago
6
Make lintcmd usable from a library, without it calling os.Exit()
#1597
sybrenstuvel
closed
2 months ago
0
Enhancements to interface comparison checks
#1596
jkeys089
closed
2 months ago
1
simple: suggest time.Time.After, time.Time.Before
#1595
johanbrandhorst
opened
3 months ago
0
website: make installation command more visible
#1594
egonelbre
closed
2 months ago
0
panic: Named.check == nil but type is incomplete
#1593
IluckySi
opened
3 months ago
1
Go install returns invalid go version '1.22.1': must match format 1.23
#1592
hrak
closed
3 months ago
2
go 1.23: "cannot range over seq" errors in the "iter.go"
#1591
PhilippSieber
closed
3 months ago
1
High performance static detection
#1590
li-jin-gou
closed
3 months ago
2
Duplicate error from SA6003 and S1029
#1589
arp242
opened
3 months ago
0
Incompatible go version 1.22.5
#1588
brienze
closed
3 months ago
4
Panic in the ir.(*Program).needMethods with v5.0
#1587
hawkingrei
opened
3 months ago
5
GOEXPERIMENT breaks Go version detection
#1586
artyom
closed
3 months ago
5
analysis/lint/testutil: unset GO111MODULE in test
#1585
zhsj
closed
3 months ago
3
New check: warn when packages gets moved from golang.org/exp to the stdlib
#1584
Foxboron
opened
3 months ago
4
structlayout: usage hinting
#1583
pascaldekloe
opened
3 months ago
0
panic: `internal error: 1: expected 'package', found i`
#1582
qarmin
closed
3 months ago
1
time.Date versus people miusing octual notation
#1581
ccoVeille
opened
3 months ago
0
QF1013: detect strings that could be rewritten with a string literal
#1580
ccoVeille
opened
3 months ago
5
"missing function body" should not happen with //go:wasmimport
#1579
mattjohnsonpint
closed
2 months ago
2
`staticcheck` panics with Korifi and golang 1.23: `Cannot range over: func(yield func(K, V) bool)`
#1578
danail-branekov
closed
4 months ago
2
unused: struct comparison
#1577
s1na
opened
4 months ago
0
panic: Cannot range over: func(yield func(K, V) bool) with Go 1.23
#1576
kevinburke
closed
4 months ago
1
Split ST1003 in multiple checks / allow to partially disable ST1003
#1575
iTrooz
opened
4 months ago
3
unused: whole const block is considered used when it contains used consts
#1574
magnushiie
closed
4 months ago
5
panic running against https://github.com/ardanlabs/service
#1573
jechols
closed
4 months ago
2
`panic: runtime error: index out of range [0] with length 0`
#1572
qarmin
closed
4 months ago
0
S1008: added support for multi-arguments return statement.
#1571
IlyasYOY
opened
4 months ago
0
website: migrate away from Hugo and Docsy
#1570
dominikh
opened
4 months ago
0
Issues with rangefunc in 1.23rc1 projects
#1569
matta
closed
4 months ago
4
Next