Repository navigation
Commit 83e1bb2
committed
fix(lint): clear v2 violations in files skipped by other lint PRs
Fix the ~45 golangci-lint v2 violations that #1276 deliberately skips
because these files are also touched by other open PRs (#1265, #1299).
internal/deploy/* is excluded here as #1246 deletes that package.
Files fixed and linters addressed:
- cmd/helpers_test.go: fieldalignment (govet), unparam
- cmd/main_test.go: fieldalignment (govet), also fix positional struct
literals broken by field reordering
- cmd/multi_service_filters.go: hugeParam + rangeValCopy (gocritic),
equalFold (gocritic), godot; all filter functions updated to *Config /
*Recommendation params with callers updated across the cmd package
- cmd/multi_service_engine_versions_test.go: fieldalignment (govet), godot
- internal/auth/service_password_test.go: fieldalignment (govet), godot
- internal/auth/store_postgres_test.go: fieldalignment (govet), godot
- internal/purchase/approvals.go: err-shadow (govet), misspell
(analogue->analog, cancelled->canceled, cancelling->canceling)
- internal/purchase/messages.go: hugeParam + rangeValCopy (gocritic),
godot, misspell (authorised->authorized)
Incidental changes: caller sites in cmd/multi_service{,_helpers,_test,
_filters_test}.go; handle*Message signature callers in
internal/purchase/{coverage_extra,money_path_regression}_test.go;
test assertions updated to match renamed error strings.1 parent 0973c67 commit 83e1bb2
8 files changed
Lines changed: 82 additions & 81 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
199 | 199 | | |
200 | 200 | | |
201 | 201 | | |
202 | | - | |
203 | 202 | | |
| 203 | + | |
204 | 204 | | |
205 | 205 | | |
206 | 206 | | |
| |||
252 | 252 | | |
253 | 253 | | |
254 | 254 | | |
255 | | - | |
256 | 255 | | |
| 256 | + | |
257 | 257 | | |
258 | 258 | | |
259 | 259 | | |
| |||
383 | 383 | | |
384 | 384 | | |
385 | 385 | | |
386 | | - | |
387 | 386 | | |
| 387 | + | |
388 | 388 | | |
389 | 389 | | |
390 | 390 | | |
| |||
490 | 490 | | |
491 | 491 | | |
492 | 492 | | |
493 | | - | |
494 | 493 | | |
| 494 | + | |
495 | 495 | | |
496 | 496 | | |
497 | 497 | | |
| |||
570 | 570 | | |
571 | 571 | | |
572 | 572 | | |
573 | | - | |
574 | 573 | | |
| 574 | + | |
575 | 575 | | |
576 | 576 | | |
577 | 577 | | |
| |||
627 | 627 | | |
628 | 628 | | |
629 | 629 | | |
630 | | - | |
| 630 | + | |
631 | 631 | | |
632 | 632 | | |
633 | 633 | | |
| |||
693 | 693 | | |
694 | 694 | | |
695 | 695 | | |
696 | | - | |
| 696 | + | |
697 | 697 | | |
698 | 698 | | |
699 | 699 | | |
| |||
706 | 706 | | |
707 | 707 | | |
708 | 708 | | |
709 | | - | |
710 | 709 | | |
| 710 | + | |
711 | 711 | | |
712 | 712 | | |
713 | 713 | | |
| |||
771 | 771 | | |
772 | 772 | | |
773 | 773 | | |
774 | | - | |
775 | | - | |
776 | 774 | | |
| 775 | + | |
| 776 | + | |
777 | 777 | | |
778 | 778 | | |
779 | 779 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
98 | 98 | | |
99 | 99 | | |
100 | 100 | | |
101 | | - | |
102 | 101 | | |
| 102 | + | |
| 103 | + | |
103 | 104 | | |
104 | | - | |
105 | 105 | | |
106 | | - | |
| 106 | + | |
107 | 107 | | |
108 | 108 | | |
109 | 109 | | |
| |||
401 | 401 | | |
402 | 402 | | |
403 | 403 | | |
404 | | - | |
405 | 404 | | |
406 | | - | |
| 405 | + | |
407 | 406 | | |
408 | 407 | | |
| 408 | + | |
409 | 409 | | |
410 | 410 | | |
411 | 411 | | |
| |||
617 | 617 | | |
618 | 618 | | |
619 | 619 | | |
620 | | - | |
621 | 620 | | |
| 621 | + | |
622 | 622 | | |
623 | | - | |
624 | | - | |
625 | | - | |
626 | | - | |
627 | | - | |
628 | | - | |
| 623 | + | |
| 624 | + | |
| 625 | + | |
| 626 | + | |
| 627 | + | |
| 628 | + | |
629 | 629 | | |
630 | 630 | | |
631 | 631 | | |
| |||
685 | 685 | | |
686 | 686 | | |
687 | 687 | | |
| 688 | + | |
688 | 689 | | |
689 | 690 | | |
690 | 691 | | |
691 | 692 | | |
692 | 693 | | |
693 | | - | |
694 | 694 | | |
695 | 695 | | |
696 | 696 | | |
| |||
770 | 770 | | |
771 | 771 | | |
772 | 772 | | |
| 773 | + | |
773 | 774 | | |
774 | 775 | | |
775 | | - | |
776 | 776 | | |
777 | 777 | | |
778 | 778 | | |
| |||
846 | 846 | | |
847 | 847 | | |
848 | 848 | | |
849 | | - | |
850 | | - | |
851 | | - | |
852 | | - | |
853 | | - | |
854 | | - | |
855 | 849 | | |
| 850 | + | |
| 851 | + | |
| 852 | + | |
| 853 | + | |
856 | 854 | | |
857 | | - | |
858 | | - | |
859 | 855 | | |
| 856 | + | |
| 857 | + | |
860 | 858 | | |
861 | 859 | | |
| 860 | + | |
| 861 | + | |
| 862 | + | |
862 | 863 | | |
863 | | - | |
864 | 864 | | |
865 | 865 | | |
866 | 866 | | |
| |||
1104 | 1104 | | |
1105 | 1105 | | |
1106 | 1106 | | |
1107 | | - | |
1108 | 1107 | | |
| 1108 | + | |
1109 | 1109 | | |
1110 | 1110 | | |
1111 | 1111 | | |
| |||
1179 | 1179 | | |
1180 | 1180 | | |
1181 | 1181 | | |
| 1182 | + | |
1182 | 1183 | | |
1183 | 1184 | | |
1184 | | - | |
1185 | 1185 | | |
1186 | 1186 | | |
1187 | 1187 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
394 | 394 | | |
395 | 395 | | |
396 | 396 | | |
397 | | - | |
| 397 | + | |
398 | 398 | | |
399 | 399 | | |
400 | 400 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
15 | | - | |
16 | 14 | | |
17 | 15 | | |
| 16 | + | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| |||
313 | 313 | | |
314 | 314 | | |
315 | 315 | | |
316 | | - | |
| 316 | + | |
317 | 317 | | |
318 | 318 | | |
319 | 319 | | |
| |||
502 | 502 | | |
503 | 503 | | |
504 | 504 | | |
| 505 | + | |
505 | 506 | | |
506 | 507 | | |
507 | 508 | | |
508 | | - | |
509 | 509 | | |
510 | 510 | | |
511 | 511 | | |
| |||
0 commit comments