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` |     # Values always ignored: `.+_test.go` | ||||||
|     # Default: [] |     # Default: [] | ||||||
|     ignored-files: |     ignored-files: | ||||||
|       - 'magic1_.*.go' |       - 'magic1_.+\.go$' | ||||||
|     # List of function patterns to exclude from analysis. |     # List of function patterns to exclude from analysis. | ||||||
|     # Following functions are always ignored: `time.Date`, |     # Following functions are always ignored: `time.Date`, | ||||||
|     # `strconv.FormatInt`, `strconv.FormatUint`, `strconv.FormatFloat`, |     # `strconv.FormatInt`, `strconv.FormatUint`, `strconv.FormatFloat`, | ||||||
|     # `strconv.ParseInt`, `strconv.ParseUint`, `strconv.ParseFloat`. |     # `strconv.ParseInt`, `strconv.ParseUint`, `strconv.ParseFloat`. | ||||||
|     # Default: [] |     # Default: [] | ||||||
|     ignored-functions: |     ignored-functions: | ||||||
|       - 'math.*' |       - '^math\.' | ||||||
|       - 'http.StatusText' |       - '^http\.StatusText$' | ||||||
| 
 | 
 | ||||||
|   gomoddirectives: |   gomoddirectives: | ||||||
|     # Allow local `replace` directives. |     # Allow local `replace` directives. | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Ville Skyttä
						Ville Skyttä