ed64e33c8c8bc9a919e2b85a1a08225b5ae59d70. Also add tests for local mode of goimports and do refactoring of tests.
		
			
				
	
	
		
			17 lines
		
	
	
		
			305 B
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			17 lines
		
	
	
		
			305 B
		
	
	
	
		
			Go
		
	
	
	
	
	
//args: -Egoimports
 | 
						|
//config: linters-settings.goimports.local-prefixes=github.com/golangci/golangci-lint
 | 
						|
package goimports
 | 
						|
 | 
						|
import (
 | 
						|
	"fmt"
 | 
						|
 | 
						|
	"github.com/golangci/golangci-lint/pkg/config"
 | 
						|
	"github.com/pkg/errors"
 | 
						|
)
 | 
						|
 | 
						|
func GoimportsLocalTest() {
 | 
						|
	fmt.Print("x")
 | 
						|
	_ = config.Config{}
 | 
						|
	_ = errors.New("")
 | 
						|
}
 |