Ludovic Fernandez 
							
						 
					 
					
						
						
							
						
						9c2d25c919 
					 
					
						
						
							
							docs: clean ( #996 )  
						
						
						
						
							
						
					 
					
						2024-06-22 16:54:34 +02:00 
						 
				 
			
				
					
						
							
							
								renovate[bot] 
							
						 
					 
					
						
						
							
						
						8fe6c0666e 
					 
					
						
						
							
							fix(deps): update module golang.org/x/tools to v0.22.0 ( #999 )  
						
						... 
						
						
						
						Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> 
						
						
							
						
					 
					
						2024-06-22 16:53:45 +02:00 
						 
				 
			
				
					
						
							
							
								Ludovic Fernandez 
							
						 
					 
					
						
						
							
						
						1bb03d77c2 
					 
					
						
						
							
							docs: missing item and homogeneous style ( #994 )  
						
						
						
						
							
						
					 
					
						2024-06-03 05:45: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 
						 
				 
			
				
					
						
							
							
								renovate[bot] 
							
						 
					 
					
						
						
							
						
						bbe5eb7414 
					 
					
						
						
							
							fix(deps): update module github.com/burntsushi/toml to v1.4.0 ( #992 )  
						
						... 
						
						
						
						Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> 
						
						
							
						
					 
					
						2024-05-23 19:06:06 +02:00 
						 
				 
			
				
					
						
							
							
								renovate[bot] 
							
						 
					 
					
						
						
							
						
						f4d39494f0 
					 
					
						
						
							
							fix(deps): update module github.com/fatih/color to v1.17.0 ( #990 )  
						
						... 
						
						
						
						Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> 
						
						
							
						
					 
					
						2024-05-13 15:08:23 -07:00 
						 
				 
			
				
					
						
							
							
								chavacava 
							
						 
					 
					
						
						
							
						
						5bf08fcd40 
					 
					
						
						
							
							Fix 922 ( #989 )  
						
						... 
						
						
						
						* removes spurious warning on package comments starting with spaces
* skips directive comments when linting package comments
---------
Co-authored-by: chavacava <salvador.cavadini@gmail.com > 
						
						
							
						
					 
					
						2024-05-13 14:23:02 +02:00 
						 
				 
			
				
					
						
							
							
								Entuazism 
							
						 
					 
					
						
						
							
						
						993c9f68a9 
					 
					
						
						
							
							fix   #982  
						
						
						
						
							
						
					 
					
						2024-05-11 19:50:30 +02:00 
						 
				 
			
				
					
						
							
							
								chavacava 
							
						 
					 
					
						
						
							
						
						2d3426f777 
					 
					
						
						
							
							more precise regular expression for directive comments ( #988 )  
						
						... 
						
						
						
						Co-authored-by: chavacava <salvador.cavadini@gmail.com > 
						
						
							
						
					 
					
						2024-05-11 19:19:09 +02:00 
						 
				 
			
				
					
						
							
							
								chavacava 
							
						 
					 
					
						
						
							
						
						85333f8533 
					 
					
						
						
							
							Fix   #808  ( #986 )  
						
						... 
						
						
						
						fix  #808  by using the official regexp for directives
---------
Co-authored-by: chavacava <salvador.cavadini@gmail.com > 
					
						2024-05-10 12:11:05 +02:00 
						 
				 
			
				
					
						
							
							
								renovate[bot] 
							
						 
					 
					
						
						
							
						
						582822e60a 
					 
					
						
						
							
							fix(deps): update module golang.org/x/tools to v0.21.0 ( #984 )  
						
						... 
						
						
						
						Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> 
						
						
							
						
					 
					
						2024-05-07 07:08:20 +02:00 
						 
				 
			
				
					
						
							
							
								chavacava 
							
						 
					 
					
						
						
							
						
						9b297848d9 
					 
					
						
						
							
							adds comments-density rule ( #979 )  
						
						
						
						
							
						
					 
					
						2024-04-20 10:20:56 +02:00 
						 
				 
			
				
					
						
							
							
								Gustavo Alves 
							
						 
					 
					
						
						
							
						
						0a77458f89 
					 
					
						
						
							
							remove colon suffix in comment-spacings rule ( #981 )  
						
						
						
						
							
						
					 
					
						2024-04-19 16:39:59 +02:00 
						 
				 
			
				
					
						
							
							
								renovate[bot] 
							
						 
					 
					
						
						
							
						
						f88f60da20 
					 
					
						
						
							
							fix(deps): update module golang.org/x/tools to v0.20.0 ( #978 )  
						
						... 
						
						
						
						Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> 
						
						
							
						
					 
					
						2024-04-05 17:37:34 +02:00 
						 
				 
			
				
					
						
							
							
								renovate[bot] 
							
						 
					 
					
						
						
							
						
						75a8e403f5 
					 
					
						
						
							
							fix(deps): update module golang.org/x/tools to v0.19.0 ( #976 )  
						
						... 
						
						
						
						Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> 
						
						
							
						
					 
					
						2024-03-05 10:32:26 +01:00 
						 
				 
			
				
					
						
							
							
								Jameel Al-Aziz 
							
						 
					 
					
						
						
							
						
						17a0393326 
					 
					
						
						
							
							enforce-slice-style: Support nil declaration enforcement ( #974 )  
						
						... 
						
						
						
						* enforce-slice-style: Support nil declaration enforcement
Add support for enforcing nil slice declarations as recommended by both
the Go Code Review and Uber style guides.
This initial version is quite strict in that it also prevents using
empty literal and make-style slices in struct assignments and as
function arguments.
* Add more tests
* docs 
						
						
							
						
					 
					
						2024-02-26 11:58:31 +01:00 
						 
				 
			
				
					
						
							
							
								renovate[bot] 
							
						 
					 
					
						
						
							
						
						b3a6cfe0cd 
					 
					
						
						
							
							fix(deps): update module golang.org/x/tools to v0.18.0 ( #972 )  
						
						... 
						
						
						
						Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> 
						
						
							
						
					 
					
						2024-02-14 18:20:16 +01:00 
						 
				 
			
				
					
						
							
							
								Ludovic Fernandez 
							
						 
					 
					
						
						
							
						
						5c5d6c1075 
					 
					
						
						
							
							fix: enforce-repeated-arg-type-style in config ( #970 )  
						
						
						
						
							
 
						
					 
					
						2024-02-07 18:00:26 +01:00 
						 
				 
			
				
					
						
							
							
								chavacava 
							
						 
					 
					
						
						
							
						
						ef34f92cef 
					 
					
						
						
							
							fix 968 by removing references to black and white lists ( #969 )  
						
						
						
						
							
						
					 
					
						2024-02-03 18:36:44 +01:00 
						 
				 
			
				
					
						
							
							
								chavacava 
							
						 
					 
					
						
						
							
						
						3a62091839 
					 
					
						
						
							
							Adds rule max-control-nesting ( #967 )  
						
						
						
						
							
						
					 
					
						2024-01-28 12:22:41 +01:00 
						 
				 
			
				
					
						
							
							
								Stephen Buttolph 
							
						 
					 
					
						
						
							
						
						f547cb594e 
					 
					
						
						
							
							Check function literals in unused-param ( #966 )  
						
						
						
						
							
						
					 
					
						2024-01-27 13:39:55 +01:00 
						 
				 
			
				
					
						
							
							
								Vincent Baron 
							
						 
					 
					
						
						
							
						
						64dda06595 
					 
					
						
						
							
							feat: capitalise var naming to IDs ( #964 )  
						
						... 
						
						
						
						* feat: capitalise var naming to IDs
* feat: added test case for IDs case 
						
						
							
						
					 
					
						2024-01-17 14:01:40 +01:00 
						 
				 
			
				
					
						
							
							
								Marcin Federowicz 
							
						 
					 
					
						
						
							
						
						9abe06adfa 
					 
					
						
						
							
							refactor: rename blacklist to blocklist and whitelist to allowlist ( #946 )  
						
						... 
						
						
						
						* refactor: rename blacklist to blocklist and whitelist to allowlist 
						
						
							
						
					 
					
						2024-01-15 12:16:00 +01:00 
						 
				 
			
				
					
						
							
							
								renovate[bot] 
							
						 
					 
					
						
						
							
						
						af4f9ea960 
					 
					
						
						
							
							fix(deps): update module golang.org/x/tools to v0.17.0 ( #963 )  
						
						... 
						
						
						
						Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> 
						
						
							
						
					 
					
						2024-01-12 07:37:41 +01:00 
						 
				 
			
				
					
						
							
							
								Michael McLoughlin 
							
						 
					 
					
						
						
							
						
						be35a880ab 
					 
					
						
						
							
							unhandled-error: use full function name in error message ( #962 )  
						
						... 
						
						
						
						* update tests
* Update testdata/unhandled-error-w-ignorelist.go
* Update testdata/unhandled-error-w-ignorelist.go
---------
Co-authored-by: Denis Voytyuk <5462781+denisvmedia@users.noreply.github.com > 
						
						
							
						
					 
					
						2024-01-08 09:36:30 -08:00 
						 
				 
			
				
					
						
							
							
								Denis Voytyuk 
							
						 
					 
					
						
						
							
						
						4b62e4b6e5 
					 
					
						
						
							
							Update list of contributors ( #960 )  
						
						
						
						
							
						
					 
					
						2024-01-08 10:00:05 +01:00 
						 
				 
			
				
					
						
							
							
								EXHades 
							
						 
					 
					
						
						
							
						
						e33fb872bb 
					 
					
						
						
							
							fix: remove errored replace directive, fix go install ( #957 )  
						
						
						
						
							
 
						
					 
					
						2024-01-04 11:23:21 +01:00 
						 
				 
			
				
					
						
							
							
								Denis Voytyuk 
							
						 
					 
					
						
						
							
						
						f8e122f43d 
					 
					
						
						
							
							fix: add-constant struct tags in anonymous struct literals false positive ( #954 )  
						
						... 
						
						
						
						* fix: add-constant struct tags in anonymous struct literals false positive 
						
						
							
 
						
					 
					
						2023-12-28 23:59:58 +01:00 
						 
				 
			
				
					
						
							
							
								Denis Voytyuk 
							
						 
					 
					
						
						
							
						
						8d5724f746 
					 
					
						
						
							
							feat: add support for enforce-repeated-arg-type-style rule ( #953 )  
						
						
						
						
							
						
					 
					
						2023-12-27 10:30:09 +01:00 
						 
				 
			
				
					
						
							
							
								renovate[bot] 
							
						 
					 
					
						
						
							
						
						90b21120ea 
					 
					
						
						
							
							fix(deps): update module golang.org/x/tools to v0.16.1 ( #949 )  
						
						... 
						
						
						
						Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> 
						
						
							
						
					 
					
						2023-12-13 00:34:38 +01:00 
						 
				 
			
				
					
						
							
							
								Oleksandr Redko 
							
						 
					 
					
						
						
							
						
						2a1701aadb 
					 
					
						
						
							
							fix: enable tests in the test/utils.go file ( #930 )  
						
						
						
						
							
						
					 
					
						2023-12-02 12:42:41 +01:00 
						 
				 
			
				
					
						
							
							
								Georgy Buranov 
							
						 
					 
					
						
						
							
						
						782f0f118c 
					 
					
						
						
							
							variable to skip package name checks ( #941 )  
						
						... 
						
						
						
						* variable to skip package name checks
* add tests for skipPackageNameChecks
* Add documentation 
						
						
							
						
					 
					
						2023-11-30 14:19:31 +01:00 
						 
				 
			
				
					
						
							
							
								renovate[bot] 
							
						 
					 
					
						
						
							
						
						d3aa99cf8b 
					 
					
						
						
							
							chore(deps): update module github.com/spf13/afero to v1.11.0 ( #945 )  
						
						... 
						
						
						
						Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> 
						
						
							
						
					 
					
						2023-11-28 15:50:12 +01:00 
						 
				 
			
				
					
						
							
							
								Bryan Boreham 
							
						 
					 
					
						
						
							
						
						7da6a39044 
					 
					
						
						
							
							modifies-value-receiver: warn on slice or map ( #943 )  
						
						... 
						
						
						
						* modifies-value-receiver: warn on slice or map
Assignments which index into the slice or map are already ignored on
line 72, and those where the whole receiver is slice or map on line 50.
We should not ignore assignments where the member variable is slice
or map.
Signed-off-by: Bryan Boreham <bjboreham@gmail.com >
* Remove extra space
---------
Signed-off-by: Bryan Boreham <bjboreham@gmail.com >
Co-authored-by: Denis Voytyuk <5462781+denisvmedia@users.noreply.github.com > 
						
						
							
						
					 
					
						2023-11-28 15:45:52 +01:00 
						 
				 
			
				
					
						
							
							
								renovate[bot] 
							
						 
					 
					
						
						
							
						
						2862d06d26 
					 
					
						
						
							
							fix(deps): update module golang.org/x/tools to v0.16.0 ( #944 )  
						
						... 
						
						
						
						Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> 
						
						
							
						
					 
					
						2023-11-28 00:20:17 -08:00 
						 
				 
			
				
					
						
							
							
								Marcin Federowicz 
							
						 
					 
					
						
						
							
						
						9e80d93545 
					 
					
						
						
							
							extend parsing instructions to use json object instead of plain txt ( #929 )  
						
						
						
						
							
						
					 
					
						2023-11-26 10:18:36 +01:00 
						 
				 
			
				
					
						
							
							
								Nahshon Unna Tsameret 
							
						 
					 
					
						
						
							
						
						9a2eab34f1 
					 
					
						
						
							
							[dot-imports] support allow list of packages ( #939 )  
						
						... 
						
						
						
						Add the ability to allow list of packages to be dot imported.
Add a new don-imports configuration:
* `allowedPackages`: (string) comma-separated list of allowed dot import packages
Example:
```toml
[rule.dot-imports]
  arguments = [{ allowedPackages = "github.com/onsi/ginkgo/v2,github.com/onsi/gomega" }]
``` 
						
						
							
						
					 
					
						2023-11-26 10:07:12 +01:00 
						 
				 
			
				
					
						
							
							
								renovate[bot] 
							
						 
					 
					
						
						
							
						
						12dd587d41 
					 
					
						
						
							
							fix(deps): update module github.com/fatih/color to v1.16.0 ( #933 )  
						
						... 
						
						
						
						Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> 
						
						
							
						
					 
					
						2023-11-26 09:18:01 +01:00 
						 
				 
			
				
					
						
							
							
								Denis Voytyuk 
							
						 
					 
					
						
						
							
						
						07eb59669a 
					 
					
						
						
							
							fix: ignore dot import aliases in import-alias-naming rule ( #938 )  
						
						
						
						
							
						
					 
					
						2023-11-26 08:57:34 +01:00 
						 
				 
			
				
					
						
							
							
								renovate[bot] 
							
						 
					 
					
						
						
							
						
						cdc8caf36b 
					 
					
						
						
							
							fix(deps): update module golang.org/x/tools to v0.15.0 ( #935 )  
						
						... 
						
						
						
						Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> 
						
						
							
						
					 
					
						2023-11-16 16:37:14 -08:00 
						 
				 
			
				
					
						
							
							
								Oleksandr Redko 
							
						 
					 
					
						
						
							
						
						ccae54e04e 
					 
					
						
						
							
							refactor: remove unused parameter from pick function ( #932 )  
						
						
						
						
							
						
					 
					
						2023-11-06 11:01:38 +01:00 
						 
				 
			
				
					
						
							
							
								Oleksandr Redko 
							
						 
					 
					
						
						
							
						
						29ba247979 
					 
					
						
						
							
							cli: refactor tests: use TestMain, t.Setenv ( #931 )  
						
						
						
						
							
						
					 
					
						2023-11-02 17:07:46 +01:00 
						 
				 
			
				
					
						
							
							
								Eng Zer Jun 
							
						 
					 
					
						
						
							
						
						573f7153c1 
					 
					
						
						
							
							var-naming: avoid allocations with (*regexp.Regexp).MatchString ( #928 )  
						
						
						
						
							
						
					 
					
						2023-11-02 09:40:09 +01:00 
						 
				 
			
				
					
						
							
							
								Denis Voytyuk 
							
						 
					 
					
						
						
							
						
						fd9a130d7a 
					 
					
						
						
							
							Add denyRegex support for import-alias-naming rule ( #927 )  
						
						
						
						
							
						
					 
					
						2023-10-29 13:19:53 +01:00 
						 
				 
			
				
					
						
							
							
								WillAbides 
							
						 
					 
					
						
						
							
						
						cb72bd880d 
					 
					
						
						
							
							formatters return output ( #921 )  
						
						... 
						
						
						
						Some of the formatters were writing directly to stdout instead of returning the output. That made them more difficult to use them with revivelib. This PR updates those formatters to write to a buffer and return the resulting string. 
						
						
							
						
					 
					
						2023-10-29 08:05:08 +01:00 
						 
				 
			
				
					
						
							
							
								Marcin Federowicz 
							
						 
					 
					
						
						
							
						
						25ae73a67a 
					 
					
						
						
							
							fix:ignore color marks when compare stings in test ( #926 )  
						
						
						
						
							
						
					 
					
						2023-10-29 07:43:52 +01:00 
						 
				 
			
				
					
						
							
							
								Marcin Federowicz 
							
						 
					 
					
						
						
							
						
						bcae8c78ca 
					 
					
						
						
							
							fix trailing whitespaces ( #917 )  
						
						
						
						
							
						
					 
					
						2023-10-27 07:26:27 +02:00 
						 
				 
			
				
					
						
							
							
								Gavin Inglis 
							
						 
					 
					
						
						
							
						
						1ef3c0f554 
					 
					
						
						
							
							refactor: remove refs to io/ioutil ( #918 )  
						
						... 
						
						
						
						Signed-off-by: ginglis13 <ginglis05@gmail.com > 
						
						
							
						
					 
					
						2023-10-14 19:25:25 +02:00 
						 
				 
			
				
					
						
							
							
								renovate[bot] 
							
						 
					 
					
						
						
							
						
						8dbd58748a 
					 
					
						
						
							
							fix(deps): update module golang.org/x/tools to v0.14.0 ( #915 )  
						
						... 
						
						
						
						Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> 
						
						
							
						
					 
					
						2023-10-07 08:18:57 +02:00 
						 
				 
			
				
					
						
							
							
								Marcin Federowicz 
							
						 
					 
					
						
						
							
						
						cd2737acb4 
					 
					
						
						
							
							Load config from different locations prefer XDG_CONFIG_HOME before HOME ( #912 )  
						
						
						
						
							
						
					 
					
						2023-10-03 20:07:00 +02:00