mirror of
				https://github.com/caddyserver/caddy.git
				synced 2025-11-04 10:12:29 +08:00 
			
		
		
		
	chore: remove deprecated linters (#5525)
This commit is contained in:
		
				
					committed by
					
						
						GitHub
					
				
			
			
				
	
			
			
			
						parent
						
							0de6064c3b
						
					
				
				
					commit
					bef1a739db
				
			@ -7,7 +7,6 @@ linters:
 | 
				
			|||||||
  disable-all: true
 | 
					  disable-all: true
 | 
				
			||||||
  enable:
 | 
					  enable:
 | 
				
			||||||
    - bodyclose
 | 
					    - bodyclose
 | 
				
			||||||
    - deadcode
 | 
					 | 
				
			||||||
    - errcheck
 | 
					    - errcheck
 | 
				
			||||||
    - gofmt
 | 
					    - gofmt
 | 
				
			||||||
    - goimports
 | 
					    - goimports
 | 
				
			||||||
@ -18,11 +17,9 @@ linters:
 | 
				
			|||||||
    - misspell
 | 
					    - misspell
 | 
				
			||||||
    - prealloc
 | 
					    - prealloc
 | 
				
			||||||
    - staticcheck
 | 
					    - staticcheck
 | 
				
			||||||
    - structcheck
 | 
					 | 
				
			||||||
    - typecheck
 | 
					    - typecheck
 | 
				
			||||||
    - unconvert
 | 
					    - unconvert
 | 
				
			||||||
    - unused
 | 
					    - unused
 | 
				
			||||||
    - varcheck
 | 
					 | 
				
			||||||
  # these are implicitly disabled:
 | 
					  # these are implicitly disabled:
 | 
				
			||||||
  # - asciicheck
 | 
					  # - asciicheck
 | 
				
			||||||
  # - depguard
 | 
					  # - depguard
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user