mirror of
				https://github.com/beego/bee.git
				synced 2025-11-04 04:13:26 +00:00 
			
		
		
		
	Setup ignore list for gosimple
This commit is contained in:
		@@ -13,7 +13,7 @@ install:
 | 
				
			|||||||
script:
 | 
					script:
 | 
				
			||||||
  - go vet  $(go list ./... | grep -v /vendor/)
 | 
					  - go vet  $(go list ./... | grep -v /vendor/)
 | 
				
			||||||
  - structcheck  $(go list ./... | grep -v /vendor/)
 | 
					  - structcheck  $(go list ./... | grep -v /vendor/)
 | 
				
			||||||
  - gosimple -ignore "github.com/beego/bee/cmd/commands/run/*.go:S1024" $(go list ./... | grep -v /vendor/)
 | 
					  - gosimple -ignore "$(cat gosimple.ignore)" $(go list ./... | grep -v /vendor/)
 | 
				
			||||||
  - staticcheck $(go list ./... | grep -v /vendor/)
 | 
					  - staticcheck $(go list ./... | grep -v /vendor/)
 | 
				
			||||||
  - unused $(go list ./... | grep -v /vendor/)
 | 
					  - unused $(go list ./... | grep -v /vendor/)
 | 
				
			||||||
  - unconvert $(go list ./... | grep -v /vendor/)
 | 
					  - unconvert $(go list ./... | grep -v /vendor/)
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										2
									
								
								gosimple.ignore
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										2
									
								
								gosimple.ignore
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,2 @@
 | 
				
			|||||||
 | 
					github.com/beego/bee/cmd/commands/run/*.go:S1024
 | 
				
			||||||
 | 
					github.com/beego/bee/cmd/commands/dlv/*.go:S1024
 | 
				
			||||||
		Reference in New Issue
	
	Block a user