mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 16:40:24 +08:00 
			
		
		
		
	Remove golint as linter (#17609)
				
					
				
			- Partialy resolvess #17596 - In the newer versions of `golangci-lint`, golint is deprecated and replaced by the `revive` linter. Thus removing the `golint` linter is a good idea, as we're already using the `revive` linter which covers all the current `golint` cases. Co-authored-by: techknowlogick <techknowlogick@gitea.io> Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
This commit is contained in:
		@@ -9,7 +9,6 @@ linters:
 | 
				
			|||||||
    - unused
 | 
					    - unused
 | 
				
			||||||
    - structcheck
 | 
					    - structcheck
 | 
				
			||||||
    - varcheck
 | 
					    - varcheck
 | 
				
			||||||
    - golint
 | 
					 | 
				
			||||||
    - dupl
 | 
					    - dupl
 | 
				
			||||||
    #- gocyclo # The cyclomatic complexety of a lot of functions is too high, we should refactor those another time.
 | 
					    #- gocyclo # The cyclomatic complexety of a lot of functions is too high, we should refactor those another time.
 | 
				
			||||||
    - gofmt
 | 
					    - gofmt
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user