mirror of
https://github.com/scratchfoundation/golangci-lint.git
synced 2025-08-28 22:28:43 -04:00
Fix #415: sort linters list in help commands
This commit is contained in:
parent
fd825488bf
commit
f516771a92
3 changed files with 28 additions and 23 deletions
|
@ -28,8 +28,8 @@ func NewManager(cfg *config.Config) *Manager {
|
|||
}
|
||||
|
||||
func (Manager) AllPresets() []string {
|
||||
return []string{linter.PresetBugs, linter.PresetUnused, linter.PresetFormatting,
|
||||
linter.PresetStyle, linter.PresetComplexity, linter.PresetPerformance}
|
||||
return []string{linter.PresetBugs, linter.PresetComplexity, linter.PresetFormatting,
|
||||
linter.PresetPerformance, linter.PresetStyle, linter.PresetUnused}
|
||||
}
|
||||
|
||||
func (m Manager) allPresetsSet() map[string]bool {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue