Skip to content

Commit e280408

Browse files
committed
docs: consistent quotes
1 parent 2518edd commit e280408

File tree

1 file changed

+37
-37
lines changed

1 file changed

+37
-37
lines changed

docs/src/docs/product/migration-guide-base.mdx

Lines changed: 37 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ issues:
8282
linters:
8383
exclusions:
8484
rules:
85-
- path: (.+)\.go$
85+
- path: '(.+)\.go$'
8686
text: (?i)abcdef
8787
```
8888
@@ -145,7 +145,7 @@ linters:
145145
```yaml
146146
issues:
147147
exclude-files:
148-
- ".*\\.my\\.go$"
148+
- '.*\.my\.go$'
149149
- lib/bad.go
150150
```
151151

@@ -157,7 +157,7 @@ issues:
157157
linters:
158158
exclusions:
159159
paths:
160-
- .*\.my\.go$
160+
- '.*\.my\.go$'
161161
- lib/bad.go
162162
```
163163

@@ -214,13 +214,13 @@ linters:
214214
```yaml
215215
issues:
216216
exclude-rules:
217-
- path: _test\.go
217+
- path: '_test\.go'
218218
linters:
219219
- gocyclo
220220
- errcheck
221221
- dupl
222222
- gosec
223-
- path-except: _test\.go
223+
- path-except: '_test\.go'
224224
linters:
225225
- staticcheck
226226
- path: internal/hmac/
@@ -243,13 +243,13 @@ issues:
243243
linters:
244244
exclusions:
245245
rules:
246-
- path: _test\.go
246+
- path: '_test\.go'
247247
linters:
248248
- dupl
249249
- errcheck
250250
- gocyclo
251251
- gosec
252-
- path-except: _test\.go
252+
- path-except: '_test\.go'
253253
linters:
254254
- staticcheck
255255
- path: internal/hmac/
@@ -309,7 +309,7 @@ issues:
309309
linters:
310310
exclusions:
311311
rules:
312-
- path: (.+)\.go$
312+
- path: '(.+)\.go$'
313313
text: abcdef
314314
```
315315

@@ -399,7 +399,7 @@ linters-settings:
399399
linters:
400400
exclusions:
401401
rules:
402-
- path: (.+)_test\.go
402+
- path: '(.+)_test\.go'
403403
linters:
404404
- asasalint
405405
```
@@ -449,7 +449,7 @@ linters-settings:
449449
linters:
450450
exclusions:
451451
rules:
452-
- path: (.+)_test\.go
452+
- path: '(.+)_test\.go'
453453
linters:
454454
- cyclop
455455
```
@@ -477,9 +477,9 @@ linters:
477477
settings:
478478
errcheck:
479479
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)'
483483
```
484484

485485
</details>
@@ -506,9 +506,9 @@ linters:
506506
settings:
507507
errcheck:
508508
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)'
512512
```
513513

514514
</details>
@@ -543,7 +543,7 @@ linters:
543543
linters-settings:
544544
forbidigo:
545545
forbid:
546-
- p: ^fmt\.Print.*$
546+
- p: '^fmt\.Print.*$'
547547
msg: Do not commit print statements.
548548
```
549549

@@ -556,7 +556,7 @@ linters:
556556
settings:
557557
forbidigo:
558558
forbid:
559-
- pattern: ^fmt\.Print.*$
559+
- pattern: '^fmt\.Print.*$'
560560
msg: Do not commit print statements.
561561
```
562562

@@ -570,8 +570,8 @@ linters:
570570
linters-settings:
571571
forbidigo:
572572
forbid:
573-
- ^print(ln)?$
574-
- ^spew\.(ConfigState\.)?Dump$
573+
- '^print(ln)?$'
574+
- '^spew\.(ConfigState\.)?Dump$'
575575
```
576576

577577
</details>
@@ -583,8 +583,8 @@ linters:
583583
settings:
584584
forbidigo:
585585
forbid:
586-
- pattern: ^print(ln)?$
587-
- pattern: ^spew\.(ConfigState\.)?Dump$
586+
- pattern: '^print(ln)?$'
587+
- pattern: '^spew\.(ConfigState\.)?Dump$'
588588
```
589589

590590
</details>
@@ -659,7 +659,7 @@ linters-settings:
659659
linters:
660660
exclusions:
661661
rules:
662-
- path: (.+)_test\.go
662+
- path: '(.+)_test\.go'
663663
linters:
664664
- goconst
665665
```
@@ -825,7 +825,7 @@ linters-settings:
825825
linters:
826826
exclusions:
827827
rules:
828-
- path: (.+)_test\.go
828+
- path: '(.+)_test\.go'
829829
linters:
830830
- gosmopolitan
831831
```
@@ -1091,7 +1091,7 @@ Removed.
10911091
linters-settings:
10921092
wrapcheck:
10931093
ignoreInterfaceRegexps:
1094-
- ^(?i)c(?-i)ach(ing|e)
1094+
- '^(?i)c(?-i)ach(ing|e)'
10951095
```
10961096

10971097
</details>
@@ -1103,7 +1103,7 @@ linters:
11031103
settings:
11041104
wrapcheck:
11051105
ignore-interface-regexps:
1106-
- ^(?i)c(?-i)ach(ing|e)
1106+
- '^(?i)c(?-i)ach(ing|e)'
11071107
```
11081108

11091109
</details>
@@ -1116,7 +1116,7 @@ linters:
11161116
linters-settings:
11171117
wrapcheck:
11181118
ignorePackageGlobs:
1119-
- encoding/*
1119+
- 'encoding/*'
11201120
```
11211121

11221122
</details>
@@ -1128,7 +1128,7 @@ linters:
11281128
settings:
11291129
wrapcheck:
11301130
ignore-package-globs:
1131-
- encoding/*
1131+
- 'encoding/*'
11321132
```
11331133

11341134
</details>
@@ -1141,7 +1141,7 @@ linters:
11411141
linters-settings:
11421142
wrapcheck:
11431143
ignoreSigRegexps:
1144-
- \.New.*Error\(
1144+
- '\.New.*Error\('
11451145
```
11461146

11471147
</details>
@@ -1153,7 +1153,7 @@ linters:
11531153
settings:
11541154
wrapcheck:
11551155
ignore-sig-regexps:
1156-
- \.New.*Error\(
1156+
- '\.New.*Error\('
11571157
```
11581158

11591159
</details>
@@ -1166,7 +1166,7 @@ linters:
11661166
linters-settings:
11671167
wrapcheck:
11681168
ignoreSigs:
1169-
- .Errorf(
1169+
- '.Errorf('
11701170
```
11711171

11721172
</details>
@@ -1178,7 +1178,7 @@ linters:
11781178
settings:
11791179
wrapcheck:
11801180
ignore-sigs:
1181-
- .Errorf(
1181+
- '.Errorf('
11821182
```
11831183

11841184
</details>
@@ -1207,7 +1207,7 @@ output:
12071207
json:
12081208
path: stdout
12091209
checkstyle:
1210-
path: report.xml
1210+
path: 'report.xml'
12111211
```
12121212

12131213
</details>
@@ -1222,7 +1222,7 @@ output:
12221222
- format: json
12231223
path: stderr
12241224
- format: checkstyle
1225-
path: report.xml
1225+
path: 'report.xml'
12261226
- format: colored-line-number
12271227
```
12281228

@@ -1239,7 +1239,7 @@ output:
12391239
json:
12401240
path: stdout
12411241
checkstyle:
1242-
path: report.xml
1242+
path: 'report.xml'
12431243
```
12441244

12451245
</details>
@@ -1364,7 +1364,7 @@ Deprecated since v1.57.0.
13641364
```yaml
13651365
run:
13661366
skip-files:
1367-
- ".*\\.my\\.go$"
1367+
- '.*\.my\.go$'
13681368
- lib/bad.go
13691369
```
13701370

@@ -1376,7 +1376,7 @@ run:
13761376
linters:
13771377
exclusions:
13781378
paths:
1379-
- ".*\\.my\\.go$"
1379+
- '.*\.my\.go$'
13801380
- lib/bad.go
13811381
```
13821382

0 commit comments

Comments
 (0)