Oleksandr Redko
|
4a89763cb7
|
empty-block: skip bare for-range loops (#1710)
|
2026-04-23 23:29:32 -07:00 |
|
Oleksandr Redko
|
a1611dad17
|
use-any: enable only for Go 1.18+ (#1699)
|
2026-03-25 10:57:54 -07:00 |
|
Oleksandr Redko
|
67780da98b
|
use-errors-new: disable for Go 1.26 (#1697)
|
2026-03-25 04:32:04 -07:00 |
|
Oleksandr Redko
|
24c17f6c96
|
use-waitgroup-go: support range statements (#1686)
|
2026-03-20 03:55:30 -07:00 |
|
renovate[bot]
|
f31bbab8a9
|
fix(deps): update module github.com/golangci/golangci-lint/v2 to v2.11.1 (#1668)
* fix(deps): update module github.com/golangci/golangci-lint/v2 to v2.11.1
* fix: remove unused nolint directive after golangci-lint v2.11.1 upgrade (#1669)
* Initial plan
* fix: remove unused nolint:gosec directive in formatter_test.go
Co-authored-by: denisvmedia <5462781+denisvmedia@users.noreply.github.com>
* Update go.mod
* Add module declaration to go.mod
* Fix module declaration formatting in go.mod
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: denisvmedia <5462781+denisvmedia@users.noreply.github.com>
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com>
Co-authored-by: denisvmedia <5462781+denisvmedia@users.noreply.github.com>
|
2026-03-06 21:57:37 +01:00 |
|
Oleksandr Redko
|
815ffde4de
|
package-naming: move package checks from var-naming (#1645)
Co-authored-by: Chaim Halbert <chaim.leib.halbert@gmail.com>
Co-authored-by: Acollie <alex.collie@muzz.com>
ccoVeille <3875889+ccoVeille@users.noreply.github.com>
|
2026-03-06 01:57:31 -08:00 |
|
Simone Carletti
|
f9673c6857
|
enforce-switch-style: handle type switches (#1629)
|
2026-02-10 08:20:37 -08:00 |
|
chavacava
|
664be2eda8
|
feature: new rule use-slices-sort (#1605)
|
2025-12-19 22:05:06 +01:00 |
|
chavacava
|
435ddcff5d
|
fix(inefficient-map-lookup): rule panics on ranges without key (#1604)
|
2025-12-05 08:27:59 -08:00 |
|
Oleksandr Redko
|
50a36ac674
|
redundant-test-main-exit: allow flag.Parse() in TestMain (#1599)
|
2025-12-05 08:27:11 -08:00 |
|
Oleksandr Redko
|
bec3e617d1
|
fix: add check for error in epoch-naming (#1589)
|
2025-11-27 23:58:52 -08:00 |
|
Collie
|
48b4f67d2b
|
feature: new rule epoch-naming (#1556)
|
2025-11-19 07:52:08 +01:00 |
|
Baranov Victor
|
940621acdd
|
import-shadowing: handle versioned packages correctly (#1445)
Co-authored-by: Oleksandr Redko <oleksandr.red+github@gmail.com>
|
2025-11-11 12:07:19 -08:00 |
|
Oleksandr Redko
|
480ab4f1ae
|
docs: fix typos (#1553)
|
2025-11-06 02:50:18 -08:00 |
|
Anupriya
|
cc04b177a4
|
useless-fallthrough: do not report fallthrough before default (#1549)
Co-authored-by: Oleksandr Redko <oleksandr.red+github@gmail.com>
|
2025-10-24 09:35:19 -07:00 |
|
Godsgift Uloamaka Ebite
|
26d803fc96
|
package-directory-mismatch: ignore mismatch in root directory (#1548)
|
2025-10-24 09:26:03 -07:00 |
|
spags
|
91147bf0b5
|
feature(package-directory-mismatch): allow test package names in version paths (#1547)
|
2025-10-23 16:20:40 +02:00 |
|
Godsgift Uloamaka Ebite
|
1bc57ac6f3
|
feature(deep-exit): detect exit-triggering flag usage (#1544)
|
2025-10-23 16:17:59 +02:00 |
|
Godsgift Uloamaka Ebite
|
d32d4a008f
|
feature: package-directory-mismatch - ignore main_test package name (#1545)
Thanks for the PR @uloamaka !
|
2025-10-15 07:24:17 +02:00 |
|
Collie
|
bc38b79980
|
feature: var-naming - add more bad package names and check for collisions with standard lib packages (#1540)
|
2025-10-15 07:20:44 +02:00 |
|
Emmanuel Ferdman
|
c930786fdb
|
fix: rule confusing-naming false positive on multiple blank identifiers (#1536)
|
2025-10-06 09:13:26 +02:00 |
|
Peter Lyons
|
c037639bc0
|
fix: rule struct-tag missing go-validator tags (#1526) (#1533)
|
2025-09-26 06:40:51 +02:00 |
|
chavacava
|
ef1b9fc156
|
fix: false positive for return in a defer function has no effect (#1531)
|
2025-09-25 17:15:34 +02:00 |
|
chavacava
|
79e63ae064
|
feature: new rule unnecessary-if (#1520)
|
2025-09-22 19:07:45 +02:00 |
|
chavacava
|
3220c1f04e
|
feature: support cbor struct tag in struct-tag rule (#1527)
|
2025-09-22 11:03:36 +02:00 |
|
chavacava
|
8be7fa65f0
|
fix: rule struct-tag false positive on validate:omitempty (#1525)
|
2025-09-20 12:16:31 +02:00 |
|
chavacava
|
ec8439e646
|
feature: add configuration notation in struct-tag rule to omit checking a tag (#1515)
|
2025-09-19 07:10:52 +02:00 |
|
Artem
|
b827c22c4d
|
struct-tag: support codec struct tag (#1507)
|
2025-09-08 09:20:24 +02:00 |
|
chavacava
|
b24647aaec
|
feature: new rule forbidden-call-in-wg-go (#1514)
|
2025-09-05 20:05:53 +02:00 |
|
chavacava
|
ca5fb06a93
|
feature: new rule inefficient-map-lookup (#1491)
|
2025-08-29 08:35:08 +02:00 |
|
chavacava
|
e1d05f7a0e
|
refactor: remove rule enforce-else (#1495)
|
2025-08-28 13:09:42 +02:00 |
|
chavacava
|
fc46c84cec
|
feature: new rule unsecure-url-scheme (#1478)
|
2025-08-27 17:18:37 +02:00 |
|
chavacava
|
2db7034aca
|
feature: new rule use-waitgroup-go (#1484)
|
2025-08-26 19:04:46 +02:00 |
|
chavacava
|
14c91fed1d
|
feature: struct-tag warns on (useless) options on ignored fields (#1487)
|
2025-08-24 07:17:09 +02:00 |
|
chavacava
|
9fd8adbcd0
|
feature: detect useless options in spanner struct tag (#1483)
|
2025-08-17 07:50:54 +02:00 |
|
Baranov Victor
|
15aded98f6
|
feature: new rule package-directory-mismatch (#1429)
|
2025-08-16 19:16:20 +02:00 |
|
Sarthak S. Waghmare
|
f07a47a1bf
|
feature: support spanner struct tag in struct-tag rule (#1479)
|
2025-08-15 21:30:40 +02:00 |
|
chavacava
|
84b565b0bf
|
feature: new rule useless-fallthrough (#1462)
|
2025-08-07 14:18:58 +02:00 |
|
chavacava
|
47205455ea
|
feature: new rules identical-switch-branches and identical-ifelseif-branches
These new rules result from the refactoring of `identical-branches` that will cover only simple/single if..else statements.
|
2025-08-06 11:19:12 +02:00 |
|
chavacava
|
f353e4b0e5
|
feature: new rule identical-ifelseif-conditions (#1454)
|
2025-08-04 06:58:14 +02:00 |
|
chavacava
|
12d96adfd4
|
feature: new rule enforce-else (#1436)
|
2025-08-04 06:43:36 +02:00 |
|
chavacava
|
3f4591cd9a
|
feature: new rule identical-switch-conditions (#1451)
|
2025-08-02 08:04:18 +02:00 |
|
chavacava
|
68ac5514f5
|
feature: detect identical-branches in switch statements (#1448)
|
2025-07-30 15:55:03 +02:00 |
|
chavacava
|
9fc7dc7d77
|
feature: identical-branches: check branches of "if ... else if" chains (#1440)
|
2025-07-29 16:57:06 +02:00 |
|
chavacava
|
6b060cd03a
|
fix(1438): enforce-switch-style - false positive with pure return based switch (#1446)
|
2025-07-28 21:30:13 +02:00 |
|
Baranov Victor
|
b969b8be4a
|
modifies-parameter: handle slices.Delete and slices.DeleteFunc (#1427)
|
2025-07-22 04:21:34 -07:00 |
|
ccoVeille
|
40a690dff5
|
exported: improve detection and error message (#1403)
|
2025-07-22 01:47:37 -07:00 |
|
Asaf Krenzler
|
cc180e221e
|
var-naming: option to skip initialism name checks (#1415)
Co-authored-by: akrenzler <akrenzler@paloaltonetworks@com>
Co-authored-by: Oleksandr Redko <oleksandr.red+github@gmail.com>
|
2025-07-11 04:45:38 -07:00 |
|
Oleksandr Redko
|
77d0d4a54b
|
early-return: detect short deviated statements (#1396)
|
2025-06-25 13:51:18 +02:00 |
|
Ludovic Fernandez
|
87bd73b28e
|
unexported-return: fix type aliases support (#1408)
|
2025-06-18 07:58:16 -07:00 |
|