Closed
Description
In particular the staticcheck "ST*" stylistic checks seem to be reporting diagnostics for generated code. I think the staticcheck standalone driver suppresses stylistic errors for generated files.
To reproduce, ensure gopls staticcheck integration is enabled and create a file foo.gen.go:
// Code generated by robot.
// DO NOT EDIT!
package foo
var REALLY_Good_Name = 1
I expect to see no diagnostic for "REALLY_Good_Name" but I get ST1003.