@@ -82,7 +82,7 @@ issues:
82
82
linters :
83
83
exclusions :
84
84
rules :
85
- - path : (.+)\.go$
85
+ - path : ' (.+)\.go$'
86
86
text : (?i)abcdef
87
87
` ` `
88
88
@@ -145,7 +145,7 @@ linters:
145
145
` ` ` yaml
146
146
issues:
147
147
exclude-files:
148
- - " .*\\ .my\\ .go$"
148
+ - ' .*\. my\. go$'
149
149
- lib/bad.go
150
150
` ` `
151
151
@@ -157,7 +157,7 @@ issues:
157
157
linters:
158
158
exclusions:
159
159
paths:
160
- - .*\. my\. go$
160
+ - ' .*\. my\. go$'
161
161
- lib/bad.go
162
162
` ` `
163
163
@@ -214,13 +214,13 @@ linters:
214
214
` ` ` yaml
215
215
issues:
216
216
exclude-rules:
217
- - path: _test\. go
217
+ - path: ' _test\. go'
218
218
linters:
219
219
- gocyclo
220
220
- errcheck
221
221
- dupl
222
222
- gosec
223
- - path-except: _test\. go
223
+ - path-except: ' _test\. go'
224
224
linters:
225
225
- staticcheck
226
226
- path: internal/hmac/
@@ -243,13 +243,13 @@ issues:
243
243
linters:
244
244
exclusions:
245
245
rules:
246
- - path: _test\. go
246
+ - path: ' _test\. go'
247
247
linters:
248
248
- dupl
249
249
- errcheck
250
250
- gocyclo
251
251
- gosec
252
- - path-except: _test\. go
252
+ - path-except: ' _test\. go'
253
253
linters:
254
254
- staticcheck
255
255
- path: internal/hmac/
@@ -309,7 +309,7 @@ issues:
309
309
linters:
310
310
exclusions:
311
311
rules:
312
- - path: (.+)\. go$
312
+ - path: ' (.+)\. go$'
313
313
text: abcdef
314
314
` ` `
315
315
@@ -399,7 +399,7 @@ linters-settings:
399
399
linters:
400
400
exclusions:
401
401
rules:
402
- - path: (.+)_test\. go
402
+ - path: ' (.+)_test\. go'
403
403
linters:
404
404
- asasalint
405
405
` ` `
@@ -449,7 +449,7 @@ linters-settings:
449
449
linters:
450
450
exclusions:
451
451
rules:
452
- - path: (.+)_test\. go
452
+ - path: ' (.+)_test\. go'
453
453
linters:
454
454
- cyclop
455
455
` ` `
@@ -477,9 +477,9 @@ linters:
477
477
settings:
478
478
errcheck:
479
479
exclude-functions:
480
- - example.ReadFile
481
- - example.Copy(*bytes.Buffer)
482
- - example.Copy(os.Stdout)
480
+ - ' example.ReadFile'
481
+ - ' example.Copy(*bytes.Buffer)'
482
+ - ' example.Copy(os.Stdout)'
483
483
` ` `
484
484
485
485
</details>
@@ -506,9 +506,9 @@ linters:
506
506
settings:
507
507
errcheck:
508
508
exclude-functions:
509
- - example.ReadFile
510
- - example.Copy(*bytes.Buffer)
511
- - example.Copy(os.Stdout)
509
+ - ' example.ReadFile'
510
+ - ' example.Copy(*bytes.Buffer)'
511
+ - ' example.Copy(os.Stdout)'
512
512
` ` `
513
513
514
514
</details>
@@ -543,7 +543,7 @@ linters:
543
543
linters-settings:
544
544
forbidigo:
545
545
forbid:
546
- - p: ^fmt\. Print.*$
546
+ - p: ' ^fmt\. Print.*$'
547
547
msg: Do not commit print statements.
548
548
` ` `
549
549
@@ -556,7 +556,7 @@ linters:
556
556
settings:
557
557
forbidigo:
558
558
forbid:
559
- - pattern: ^fmt\. Print.*$
559
+ - pattern: ' ^fmt\. Print.*$'
560
560
msg: Do not commit print statements.
561
561
` ` `
562
562
@@ -570,8 +570,8 @@ linters:
570
570
linters-settings:
571
571
forbidigo:
572
572
forbid:
573
- - ^print(ln)?$
574
- - ^spew\. (ConfigState\. )?Dump$
573
+ - ' ^print(ln)?$'
574
+ - ' ^spew\. (ConfigState\. )?Dump$'
575
575
` ` `
576
576
577
577
</details>
@@ -583,8 +583,8 @@ linters:
583
583
settings:
584
584
forbidigo:
585
585
forbid:
586
- - pattern: ^print(ln)?$
587
- - pattern: ^spew\. (ConfigState\. )?Dump$
586
+ - pattern: ' ^print(ln)?$'
587
+ - pattern: ' ^spew\. (ConfigState\. )?Dump$'
588
588
` ` `
589
589
590
590
</details>
@@ -659,7 +659,7 @@ linters-settings:
659
659
linters:
660
660
exclusions:
661
661
rules:
662
- - path: (.+)_test\. go
662
+ - path: ' (.+)_test\. go'
663
663
linters:
664
664
- goconst
665
665
` ` `
@@ -825,7 +825,7 @@ linters-settings:
825
825
linters:
826
826
exclusions:
827
827
rules:
828
- - path: (.+)_test\. go
828
+ - path: ' (.+)_test\. go'
829
829
linters:
830
830
- gosmopolitan
831
831
` ` `
@@ -1091,7 +1091,7 @@ Removed.
1091
1091
linters-settings:
1092
1092
wrapcheck:
1093
1093
ignoreInterfaceRegexps:
1094
- - ^(?i)c(?-i)ach(ing|e)
1094
+ - ' ^(?i)c(?-i)ach(ing|e)'
1095
1095
` ` `
1096
1096
1097
1097
</details>
@@ -1103,7 +1103,7 @@ linters:
1103
1103
settings:
1104
1104
wrapcheck:
1105
1105
ignore-interface-regexps:
1106
- - ^(?i)c(?-i)ach(ing|e)
1106
+ - ' ^(?i)c(?-i)ach(ing|e)'
1107
1107
` ` `
1108
1108
1109
1109
</details>
@@ -1116,7 +1116,7 @@ linters:
1116
1116
linters-settings:
1117
1117
wrapcheck:
1118
1118
ignorePackageGlobs:
1119
- - encoding/*
1119
+ - ' encoding/*'
1120
1120
` ` `
1121
1121
1122
1122
</details>
@@ -1128,7 +1128,7 @@ linters:
1128
1128
settings:
1129
1129
wrapcheck:
1130
1130
ignore-package-globs:
1131
- - encoding/*
1131
+ - ' encoding/*'
1132
1132
` ` `
1133
1133
1134
1134
</details>
@@ -1141,7 +1141,7 @@ linters:
1141
1141
linters-settings:
1142
1142
wrapcheck:
1143
1143
ignoreSigRegexps:
1144
- - \. New.*Error\(
1144
+ - ' \. New.*Error\( '
1145
1145
` ` `
1146
1146
1147
1147
</details>
@@ -1153,7 +1153,7 @@ linters:
1153
1153
settings:
1154
1154
wrapcheck:
1155
1155
ignore-sig-regexps:
1156
- - \. New.*Error\(
1156
+ - ' \. New.*Error\( '
1157
1157
` ` `
1158
1158
1159
1159
</details>
@@ -1166,7 +1166,7 @@ linters:
1166
1166
linters-settings:
1167
1167
wrapcheck:
1168
1168
ignoreSigs:
1169
- - .Errorf(
1169
+ - ' .Errorf('
1170
1170
` ` `
1171
1171
1172
1172
</details>
@@ -1178,7 +1178,7 @@ linters:
1178
1178
settings:
1179
1179
wrapcheck:
1180
1180
ignore-sigs:
1181
- - .Errorf(
1181
+ - ' .Errorf('
1182
1182
` ` `
1183
1183
1184
1184
</details>
@@ -1207,7 +1207,7 @@ output:
1207
1207
json:
1208
1208
path: stdout
1209
1209
checkstyle:
1210
- path: report.xml
1210
+ path: ' report.xml'
1211
1211
` ` `
1212
1212
1213
1213
</details>
@@ -1222,7 +1222,7 @@ output:
1222
1222
- format: json
1223
1223
path: stderr
1224
1224
- format: checkstyle
1225
- path: report.xml
1225
+ path: ' report.xml'
1226
1226
- format: colored-line-number
1227
1227
` ` `
1228
1228
@@ -1239,7 +1239,7 @@ output:
1239
1239
json:
1240
1240
path: stdout
1241
1241
checkstyle:
1242
- path: report.xml
1242
+ path: ' report.xml'
1243
1243
` ` `
1244
1244
1245
1245
</details>
@@ -1364,7 +1364,7 @@ Deprecated since v1.57.0.
1364
1364
` ` ` yaml
1365
1365
run:
1366
1366
skip-files:
1367
- - " .*\\ .my\\ .go$"
1367
+ - ' .*\. my\. go$'
1368
1368
- lib/bad.go
1369
1369
` ` `
1370
1370
@@ -1376,7 +1376,7 @@ run:
1376
1376
linters:
1377
1377
exclusions:
1378
1378
paths:
1379
- - " .*\\ .my\\ .go$"
1379
+ - ' .*\. my\. go$'
1380
1380
- lib/bad.go
1381
1381
` ` `
1382
1382
0 commit comments