Skip to content

Commit 2ef6502

Browse files
Ajit Pratap SinghAjit Pratap Singh
authored andcommitted
style: gofmt alignment
1 parent ebd658e commit 2ef6502

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

cmd/gosqlx/internal/actioncmd/action.go

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -297,16 +297,16 @@ func defaultLinter() *linter.Linter {
297297
// allRules returns a map of rule ID → Rule for all available lint rules.
298298
func allRules() map[string]linter.Rule {
299299
all := []linter.Rule{
300-
whitespace.NewTrailingWhitespaceRule(), // L001
301-
whitespace.NewMixedIndentationRule(), // L002
302-
whitespace.NewConsecutiveBlankLinesRule(2), // L003
303-
whitespace.NewIndentationDepthRule(10, 4), // L004
304-
whitespace.NewLongLinesRule(120), // L005
305-
style.NewColumnAlignmentRule(), // L006
306-
keywords.NewKeywordCaseRule(keywords.CaseUpper), // L007
300+
whitespace.NewTrailingWhitespaceRule(), // L001
301+
whitespace.NewMixedIndentationRule(), // L002
302+
whitespace.NewConsecutiveBlankLinesRule(2), // L003
303+
whitespace.NewIndentationDepthRule(10, 4), // L004
304+
whitespace.NewLongLinesRule(120), // L005
305+
style.NewColumnAlignmentRule(), // L006
306+
keywords.NewKeywordCaseRule(keywords.CaseUpper), // L007
307307
style.NewCommaPlacementRule(style.CommaTrailing), // L008
308-
style.NewAliasingConsistencyRule(true), // L009
309-
whitespace.NewRedundantWhitespaceRule(), // L010
308+
style.NewAliasingConsistencyRule(true), // L009
309+
whitespace.NewRedundantWhitespaceRule(), // L010
310310
}
311311
m := make(map[string]linter.Rule, len(all))
312312
for _, r := range all {

0 commit comments

Comments
 (0)