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

9 Commits

Author SHA1 Message Date
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
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
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
Ludovic Fernandez
24c008dd00 fix: var-naming rule extraBadPackageNames type (#1404) 2025-06-16 13:04:53 -07:00
Marcin Federowicz
7ba6ad4fcd var-naming: remove regex from code (#1322)
Co-authored-by: ccoVeille <3875889+ccoVeille@users.noreply.github.com>
Co-authored-by: Oleksandr Redko <oleksandr.red+github@gmail.com>
2025-04-25 01:32:03 -07:00
Oleksandr Redko
558580268e var-naming: detect meaningless package names (#1312) 2025-04-16 02:30:28 -07:00
Oleksandr Redko
9f5f957b33 rule: allow lowercased and kebab-cased options (#1272)
* rule: tests for Configure with named options; fix errors

* rule: refactor and add tests for ifelse rules

* rule: allow lowercased and kebab-cased options

* test: update integration tests with lowercased params

* docs: update rules descriptions

* rule: simplify Configure implementation with one option

* gofmt and fix lint

* review: add isRuleOption, update grammar in doc, simplify regex

Co-authored-by: ccoVeille <3875889+ccoVeille@users.noreply.github.com>

---------

Co-authored-by: ccoVeille <3875889+ccoVeille@users.noreply.github.com>
2025-03-28 09:34:20 +01:00
Oleksandr Redko
be95bfa705 refactor: rename files to follow Go convention 2024-11-11 19:31:18 +01:00