mirror of
				https://gitea.com/Lydanne/buildx.git
				synced 2025-11-03 09:33:43 +08:00 
			
		
		
		
	1.6.0 -------------------------- Fixes: * end of line cleanup * revert the entry concurrency bug fix whic leads to deadlock under some circumstances * update dependency on go-windows-terminal-sequences to fix a crash with go 1.14 Features: * add an option to the `TextFormatter` to completely disable fields quoting 1.5.0 -------------------------- Code quality: * add golangci linter run on travis Fixes: * add mutex for hooks concurrent access on `Entry` data * caller function field for go1.14 * fix build issue for gopherjs target Feature: * add an hooks/writer sub-package whose goal is to split output on different stream depending on the trace level * add a `DisableHTMLEscape` option in the `JSONFormatter` * add `ForceQuote` and `PadLevelText` options in the `TextFormatter` Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
		
			
				
	
	
		
			41 lines
		
	
	
		
			974 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			41 lines
		
	
	
		
			974 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
run:
 | 
						|
  # do not run on test files yet
 | 
						|
  tests: false
 | 
						|
 | 
						|
# all available settings of specific linters
 | 
						|
linters-settings:
 | 
						|
  errcheck:
 | 
						|
    # report about not checking of errors in type assetions: `a := b.(MyStruct)`;
 | 
						|
    # default is false: such cases aren't reported by default.
 | 
						|
    check-type-assertions: false
 | 
						|
 | 
						|
    # report about assignment of errors to blank identifier: `num, _ := strconv.Atoi(numStr)`;
 | 
						|
    # default is false: such cases aren't reported by default.
 | 
						|
    check-blank: false
 | 
						|
 | 
						|
  lll:
 | 
						|
    line-length: 100
 | 
						|
    tab-width: 4
 | 
						|
 | 
						|
  prealloc:
 | 
						|
    simple: false
 | 
						|
    range-loops: false
 | 
						|
    for-loops: false
 | 
						|
 | 
						|
  whitespace:
 | 
						|
    multi-if: false   # Enforces newlines (or comments) after every multi-line if statement
 | 
						|
    multi-func: false # Enforces newlines (or comments) after every multi-line function signature
 | 
						|
 | 
						|
linters:
 | 
						|
  enable:
 | 
						|
    - megacheck
 | 
						|
    - govet
 | 
						|
  disable:
 | 
						|
    - maligned
 | 
						|
    - prealloc
 | 
						|
  disable-all: false
 | 
						|
  presets:
 | 
						|
    - bugs
 | 
						|
    - unused
 | 
						|
  fast: false
 |