package stylecheck
import "honnef.co/go/tools/stylecheck"
Package stylecheck contains analyzes that enforce style rules. Most of the recommendations made are universally agreed upon by the wider Go community. Some analyzes, however, implement stricter rules that not everyone will agree with. In the context of Staticcheck, these analyzes are not enabled by default.
For the most part it is recommended to follow the advice given by the analyzers that are enabled by default, but you may want to disable additional analyzes on a case by case basis.
Index ¶
Variables ¶
var Analyzers = []*lint.Analyzer{ st1000.SCAnalyzer, st1001.SCAnalyzer, st1003.SCAnalyzer, st1005.SCAnalyzer, st1006.SCAnalyzer, st1008.SCAnalyzer, st1011.SCAnalyzer, st1012.SCAnalyzer, st1013.SCAnalyzer, st1015.SCAnalyzer, st1016.SCAnalyzer, st1017.SCAnalyzer, st1018.SCAnalyzer, st1019.SCAnalyzer, st1020.SCAnalyzer, st1021.SCAnalyzer, st1022.SCAnalyzer, st1023.SCAnalyzer, }
Source Files ¶
analysis.go doc.go
Directories ¶
- Version
- v0.6.1 (latest)
- Published
- Mar 5, 2025
- Platform
- darwin/amd64
- Imports
- 19 packages
- Last checked
- 1 second ago –
Tools for package owners.