docs: clarify mnd ignore usage examples to be regexps (#3805)
This commit is contained in:
		
							parent
							
								
									66ac4b5570
								
							
						
					
					
						commit
						6a83dd7725
					
				| @ -702,15 +702,15 @@ linters-settings: | ||||
|     # Values always ignored: `.+_test.go` | ||||
|     # Default: [] | ||||
|     ignored-files: | ||||
|       - 'magic1_.*.go' | ||||
|       - 'magic1_.+\.go$' | ||||
|     # List of function patterns to exclude from analysis. | ||||
|     # Following functions are always ignored: `time.Date`, | ||||
|     # `strconv.FormatInt`, `strconv.FormatUint`, `strconv.FormatFloat`, | ||||
|     # `strconv.ParseInt`, `strconv.ParseUint`, `strconv.ParseFloat`. | ||||
|     # Default: [] | ||||
|     ignored-functions: | ||||
|       - 'math.*' | ||||
|       - 'http.StatusText' | ||||
|       - '^math\.' | ||||
|       - '^http\.StatusText$' | ||||
| 
 | ||||
|   gomoddirectives: | ||||
|     # Allow local `replace` directives. | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Ville Skyttä
						Ville Skyttä