docs: add rowsercheck into .golangci.example.yml after #849
This commit is contained in:
		
							parent
							
								
									e93138f00f
								
							
						
					
					
						commit
						77dabb3d74
					
				@ -154,6 +154,9 @@ linters-settings:
 | 
				
			|||||||
    line-length: 120
 | 
					    line-length: 120
 | 
				
			||||||
    # tab width in spaces. Default to 1.
 | 
					    # tab width in spaces. Default to 1.
 | 
				
			||||||
    tab-width: 1
 | 
					    tab-width: 1
 | 
				
			||||||
 | 
					  rowserrcheck:
 | 
				
			||||||
 | 
					    packages:
 | 
				
			||||||
 | 
					      - github.com/jmoiron/sqlx
 | 
				
			||||||
  unused:
 | 
					  unused:
 | 
				
			||||||
    # treat code as a program (not a library) and report unused exported identifiers; default is false.
 | 
					    # treat code as a program (not a library) and report unused exported identifiers; default is false.
 | 
				
			||||||
    # XXX: if you enable this setting, unused will report a lot of false-positives in text editors:
 | 
					    # XXX: if you enable this setting, unused will report a lot of false-positives in text editors:
 | 
				
			||||||
 | 
				
			|||||||
@ -760,6 +760,9 @@ linters-settings:
 | 
				
			|||||||
    line-length: 120
 | 
					    line-length: 120
 | 
				
			||||||
    # tab width in spaces. Default to 1.
 | 
					    # tab width in spaces. Default to 1.
 | 
				
			||||||
    tab-width: 1
 | 
					    tab-width: 1
 | 
				
			||||||
 | 
					  rowserrcheck:
 | 
				
			||||||
 | 
					    packages:
 | 
				
			||||||
 | 
					      - github.com/jmoiron/sqlx
 | 
				
			||||||
  unused:
 | 
					  unused:
 | 
				
			||||||
    # treat code as a program (not a library) and report unused exported identifiers; default is false.
 | 
					    # treat code as a program (not a library) and report unused exported identifiers; default is false.
 | 
				
			||||||
    # XXX: if you enable this setting, unused will report a lot of false-positives in text editors:
 | 
					    # XXX: if you enable this setting, unused will report a lot of false-positives in text editors:
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user