ed64e33c8c8bc9a919e2b85a1a08225b5ae59d70. Also add tests for local mode of goimports and do refactoring of tests.
		
			
				
	
	
		
			13 lines
		
	
	
		
			195 B
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
		
			195 B
		
	
	
	
		
			Go
		
	
	
	
	
	
//args: -Egoimports
 | 
						|
package testdata
 | 
						|
 | 
						|
import (
 | 
						|
	"fmt" // ERROR "File is not `goimports`-ed"
 | 
						|
	"github.com/golangci/golangci-lint/pkg/config"
 | 
						|
)
 | 
						|
 | 
						|
func Bar() {
 | 
						|
	fmt.Print("x")
 | 
						|
	_ = config.Config{}
 | 
						|
}
 |