File tree Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -890,6 +890,9 @@ linters-settings:
890890 # Detects input and output parameters that have a type of pointer to referential type.
891891 # https://go-critic.com/overview.html#ptrToRefParam
892892 - ptrToRefParam
893+ # Detects append all its data while range it.
894+ # https://go-critic.com/overview.html#rangeAppendAll
895+ - rangeAppendAll
893896 # Detects expensive copies of `for` loop range expressions.
894897 # https://go-critic.com/overview.html#rangeExprCopy
895898 - rangeExprCopy
@@ -1086,6 +1089,7 @@ linters-settings:
10861089 - preferStringWriter
10871090 - preferWriteByte
10881091 - ptrToRefParam
1092+ - rangeAppendAll
10891093 - rangeExprCopy
10901094 - rangeValCopy
10911095 - redundantSprint
Original file line number Diff line number Diff line change 6868 " preferStringWriter" ,
6969 " preferWriteByte" ,
7070 " ptrToRefParam" ,
71+ " rangeAppendAll" ,
7172 " rangeExprCopy" ,
7273 " rangeValCopy" ,
7374 " redundantSprint" ,
You can’t perform that action at this time.
0 commit comments