Use Golangci configuration file (#4896)
This commit is contained in:
		
							parent
							
								
									e5bdd610c3
								
							
						
					
					
						commit
						2a578d767f
					
				
							
								
								
									
										2
									
								
								.github/workflows/reviewdog.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.github/workflows/reviewdog.yml
									
									
									
									
										vendored
									
									
								
							| @ -9,5 +9,3 @@ jobs: | |||||||
|         uses: actions/checkout@v2 |         uses: actions/checkout@v2 | ||||||
|       - name: golangci-lint |       - name: golangci-lint | ||||||
|         uses: reviewdog/action-golangci-lint@v2 |         uses: reviewdog/action-golangci-lint@v2 | ||||||
|         with: |  | ||||||
|           golangci_lint_flags: '-E cyclop,unconvert,misspell,unparam,ineffassign,gocritic,prealloc,exportloopref,gosec' |  | ||||||
|  | |||||||
							
								
								
									
										11
									
								
								.golangci.yml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										11
									
								
								.golangci.yml
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,11 @@ | |||||||
|  | linters: | ||||||
|  |   enable: | ||||||
|  |     - cyclop | ||||||
|  |     - exportloopref | ||||||
|  |     - gocritic | ||||||
|  |     - gosec | ||||||
|  |     - ineffassign | ||||||
|  |     - misspell | ||||||
|  |     - prealloc | ||||||
|  |     - unconvert | ||||||
|  |     - unparam | ||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Matthieu MOREL
						Matthieu MOREL