mirror of
				https://github.com/mgechev/revive.git
				synced 2025-10-30 23:37:49 +02:00 
			
		
		
		
	* Fix rule for documentation of exported types The rule was failing in the following case: ```go // A is an awesome type type A = int ``` Because revive was skipping the leading `A`, considering it as an article. * Add "This" article and update Makefile
		
			
				
	
	
		
			15 lines
		
	
	
		
			159 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
		
			159 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
| .PHONY: test
 | |
| 
 | |
| deps.devtools:
 | |
| 	@go get github.com/golang/dep/cmd/dep
 | |
| 
 | |
| install: deps.devtools
 | |
| 	@dep ensure -v
 | |
| 
 | |
| build:
 | |
| 	@go build
 | |
| 
 | |
| test:
 | |
| 	@go test -v ./test/...
 | |
| 
 |