1
0
mirror of https://github.com/mgechev/revive.git synced 2025-11-23 22:04:49 +02:00

1288 Commits

Author SHA1 Message Date
Oleksandr Redko
10e861964e refactor: fix gosec lint issues (#1586) 2025-11-22 04:11:52 -08:00
Collie
48b4f67d2b feature: new rule epoch-naming (#1556) 2025-11-19 07:52:08 +01:00
Oleksandr Redko
dbcecde212 chore: format code with gofumpt (#1583) 2025-11-17 03:35:59 -08:00
renovate[bot]
db0fc8688f chore(deps): update module golang.org/x/text to v0.31.0 (#1584)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-11-17 03:35:41 -08:00
Oleksandr Redko
5dc6ed197b refactor: enable few linters in golangci-lint config (#1580) 2025-11-15 10:50:52 -08:00
Oleksandr Redko
d81298b0ce test: fix testpackage lint issues for test and ifelse (#1582) 2025-11-15 10:24:16 -08:00
Oleksandr Redko
d1dd6ee961 refactor: remove unused checkNumberOfArguments (#1581) 2025-11-15 09:35:57 -08:00
Oleksandr Redko
6ff1fc5f12 test: check only exported functions in config package (#1579) 2025-11-15 03:39:38 -08:00
renovate[bot]
458fe3084c fix(deps): update module github.com/golangci/golangci-lint/v2 to v2.6.2 (#1578)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-11-14 08:25:07 -08:00
Oleksandr Redko
a295bebe6e refactor: enable godoclint linter in golangci-lint (#1576) 2025-11-14 08:02:48 -08:00
renovate[bot]
ac5f398440 fix(deps): update module golang.org/x/tools to v0.39.0 (#1577)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
v1.13.0
2025-11-13 01:14:07 -08: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
renovate[bot]
0038970a4f chore(deps): update module golang.org/x/sys to v0.38.0 (#1574)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-11-10 01:43:16 -08:00
Oleksandr Redko
b73cca9e66 change: merge code-style with style categories (#1573)
* change: merge code-style with style categories

* deprecate variable
2025-11-09 18:18:26 +01:00
renovate[bot]
010d7b28ec fix(deps): update module golang.org/x/sync to v0.18.0 (#1572)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-11-08 09:27:47 -08:00
renovate[bot]
5bf78f0755 chore(deps): update module google.golang.org/protobuf to v1.36.10 (#1569)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-11-08 09:14:48 -08:00
renovate[bot]
e94ee821b8 chore(deps): update module dev.gaijin.team/go/golib to v0.7.0 (#1570)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-11-08 09:14:39 -08:00
Oleksandr Redko
d492bd826e chore: update schedule in renovate config (#1571) 2025-11-08 09:13:46 -08:00
renovate[bot]
f4985a3f6d chore(deps): update github.com/golangci/gofmt digest to 3e58ba0 (#1557)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-11-07 08:33:59 -08:00
renovate[bot]
e0122e550c chore(deps): update module github.com/catenacyber/perfsprint to v0.10.1 (#1560)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-11-07 08:33:49 -08:00
renovate[bot]
592675e5bd chore(deps): update golang.org/x/telemetry digest to 5cc343d (#1559)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-11-07 08:33:23 -08:00
renovate[bot]
1723b3659a chore(deps): update github.com/golangci/golines digest to 8fd09d3 (#1558)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-11-07 08:15:33 -08:00
Oleksandr Redko
7b6a6119f8 chore(deps): bump Go 1.24 (#1555) 2025-11-07 16:43:44 +01:00
cce
ed85b79854 feature: add enableDefaultRules config option (#1551)
Co-authored-by: Oleksandr Redko <oleksandr.red+github@gmail.com>
2025-11-06 04:05:40 -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
renovate[bot]
c603da3180 chore(deps): update golang docker tag to v1.25 (#1474) 2025-10-06 09:21:35 +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
renovate[bot]
5736df325c fix(deps): update module github.com/spf13/afero to v1.15.0 (#1521)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-09-09 01:26:02 -07: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
Oleksandr Redko
490b37dbbe docs: enhance struct-tag rule description (#1512) 2025-09-04 05:36:58 -07:00
Oleksandr Redko
4d5fd518ca docs: fix MD024/no-duplicate-heading lint issue (#1513) 2025-09-04 04:49:06 -07:00
chavacava
44e19927c0 doc: add before/after examples to bool-literal-in-expr description (#1500) 2025-08-31 10:25:19 +02:00
chavacava
b89a95979b doc: add before/after examples to confusing-results description (#1503) 2025-08-31 10:19:44 +02:00
chavacava
89d77d3be8 doc: clearly identify configuration examples (#1504) 2025-08-30 10:48:25 +02:00
chavacava
ca5fb06a93 feature: new rule inefficient-map-lookup (#1491) 2025-08-29 08:35:08 +02:00
Oleksandr Redko
0e76b4d0b4 docs: update TOC; check for TOC consistency in GHA (#1493) 2025-08-28 07:54:28 -07:00
chavacava
e1d05f7a0e refactor: remove rule enforce-else (#1495) v1.12.0 2025-08-28 13:09:42 +02:00