1. Rename in a backward compatible way 2. Remove gosec default exclude list because gosec is already disabled by default. 3. Warn about unmatched linter names in //nolint directives 4. Process linter names in //nolint directives in upper case 5. Disable gosec for golangci-lint in .golangci.yml
		
			
				
	
	
		
			28 lines
		
	
	
		
			667 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
			
		
		
	
	
			28 lines
		
	
	
		
			667 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
test:
 | 
						|
	go install ./cmd/...
 | 
						|
	GL_TEST_RUN=1 golangci-lint run -v
 | 
						|
	GL_TEST_RUN=1 golangci-lint run --fast --no-config -v
 | 
						|
	GL_TEST_RUN=1 golangci-lint run --no-config -v
 | 
						|
	GL_TEST_RUN=1 go test -v ./...
 | 
						|
 | 
						|
test_linters:
 | 
						|
	GL_TEST_RUN=1 go test -v ./test -count 1 -run TestSourcesFromTestdataWithIssuesDir/$T
 | 
						|
 | 
						|
assets:
 | 
						|
	svg-term --cast=183662 --out docs/demo.svg --window --width 110 --height 30 --from 2000 --to 20000 --profile Dracula --term iterm2
 | 
						|
 | 
						|
readme:
 | 
						|
	go run ./scripts/gen_readme/main.go
 | 
						|
 | 
						|
gen:
 | 
						|
	go generate ./...
 | 
						|
 | 
						|
check_generated:
 | 
						|
	make readme && git diff --exit-code # check no changes
 | 
						|
 | 
						|
release:
 | 
						|
	rm -rf dist
 | 
						|
	curl -sL https://git.io/goreleaser | bash
 | 
						|
 | 
						|
.PHONY: test
 |