Oleksandr Redko
f4976873e7
docs: improve comments for functions; enable godot ( #1382 )
2025-05-27 07:44:24 +02:00
Oleksandr Redko
e8ed573739
refactor: enable gocritic linter; fix lint issues ( #1375 )
2025-05-26 02:40:17 -07:00
Arjun Rajpal
26125211ba
Integrate golangci-lint into CI/CD pipeline ( #1346 )
...
Co-authored-by: ccoVeille <3875889+ccoVeille@users.noreply.github.com >
Co-authored-by: Oleksandr Redko <oleksandr.red+github@gmail.com >
2025-05-16 05:12:23 -07:00
Ludovic Fernandez
fbd90be544
fix: race condition of Package fields ( #1307 )
2025-04-10 07:44:38 +02:00
chavacava
9919e6bbe0
refactor: replace IsAtLeastGo1* functions by IsAtLeastGoVersion ( #1274 )
2025-03-16 18:18:05 +01:00
chavacava
8ece20b078
feature: add support for omitzero in rule struct-tag ( #1238 )
2025-02-16 11:31:17 +01:00
Semih Buyukgungor
5f01efa722
feature: add redundant-test-main-exit rule ( #1208 )
2025-01-29 14:36:00 +01:00
chavacava
e23fcdb498
refactor: modifies linting machinery to use Failure as a mean to signal erros in rules application ( #1178 )
2024-12-08 15:56:14 +01:00
chavacava
f6a38208af
refactor: code cleanup ( #1177 )
2024-12-08 11:08:54 +01:00
Denis Voytyuk
cb74ccbf44
chore: Improve sortables detection ( #1151 )
...
Co-authored-by: chavacava <salvador.cavadini@gmail.com >
2024-12-02 13:02:39 +01:00
Oleksandr Redko
0afba4ff15
refactor: enforce map and slice style ( #1131 )
2024-11-16 18:05:30 +01:00
Oleksandr Redko
4c958ef739
refactor: remove redundant defer
2024-11-12 09:26:30 +01:00
Oleksandr Redko
9a8587cc49
revive: add revive.toml for linting revive itself ( #1094 )
2024-11-04 09:18:17 -03:00
Shoichi Kaji
e54773e4b9
check clear/max/min in redefines-builtin-id rule on go1.21+ ( #1024 )
...
* check clear/max/min in redefines-builtin-id rule on go1.21+
* Update rule/redefines-builtin-id.go
Co-authored-by: Denis Voytyuk <5462781+denisvmedia@users.noreply.github.com >
---------
Co-authored-by: Denis Voytyuk <5462781+denisvmedia@users.noreply.github.com >
2024-08-15 13:14:16 +02:00
dominiquelefevre
4242f24f4d
Add support for the new implementation of for loop variables in go 1.22. ( #993 )
...
* Add support for the new behaviour of for loops in go 1.22.
Go 1.22 has changed the behaviour of for loops. Every iteration
makes new loop variables. It is now safe to take their addresses
because they are guaranteed to be unique. Similarly, it is now
safe to capture loop variables in functions.
* adds documentation for public function
---------
Co-authored-by: chavacava <salvadorcavadini+github@gmail.com >
2024-06-02 11:55:26 +02:00
Minko Gechev
71ef7fdcb9
Move to the default importer from gcexportdata ( #723 )
2022-08-06 09:42:15 +02:00
okhowang
387d7276a1
Make package comment more confident ( #694 )
2022-06-19 13:21:31 +02:00
Ivan Trubach
dc30eb1182
fix(receiver-naming): distinguish types with parameters ( #692 )
...
* fix(receiver-naming): distinguish types with parameters
* chore: run tests using supported Go versions matrix
2022-06-18 18:47:53 +02:00
chavacava
31fbdb1833
Fix/677 ( #678 )
2022-04-10 09:06:59 +02:00
SalvadorC
bd4139713d
fix issue [ #59 ] ( #70 )
2018-09-21 10:51:01 -07:00
mgechev
1686f0b237
Introduce optional type checking
...
Enable optional type checking.
2018-05-31 21:43:02 -07:00
mgechev
64636caedd
Fix package level type checking
2018-05-31 19:49:39 -07:00
mgechev
deb72d6238
Add default formatter
2018-01-27 17:01:18 -08:00
mgechev
1870854374
Improvements
2018-01-27 16:37:30 -08:00
mgechev
f926547659
Refactoring
2018-01-24 15:44:03 -08:00