mirror of
				https://github.com/optim-enterprises-bv/kubernetes.git
				synced 2025-11-04 12:18:16 +00:00 
			
		
		
		
	fix: clean up testifylint configuration in golangci-lint
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
This commit is contained in:
		@@ -185,5 +185,3 @@ linters-settings: # please keep this alphabetized
 | 
			
		||||
      - "all"
 | 
			
		||||
  testifylint:
 | 
			
		||||
    enable-all: true
 | 
			
		||||
    disable:  # TODO: remove each disabled rule and fix it
 | 
			
		||||
      - require-error
 | 
			
		||||
 
 | 
			
		||||
@@ -239,11 +239,6 @@ linters-settings: # please keep this alphabetized
 | 
			
		||||
  testifylint:
 | 
			
		||||
    enable-all: true
 | 
			
		||||
    disable:  # TODO: remove each disabled rule and fix it
 | 
			
		||||
      - compares
 | 
			
		||||
      - error-is-as
 | 
			
		||||
      - error-nil
 | 
			
		||||
      - expected-actual
 | 
			
		||||
      - float-compare
 | 
			
		||||
      - go-require
 | 
			
		||||
      - nil-compare
 | 
			
		||||
      - require-error
 | 
			
		||||
 
 | 
			
		||||
@@ -210,14 +210,11 @@ linters-settings: # please keep this alphabetized
 | 
			
		||||
  {{- end}}
 | 
			
		||||
  testifylint:
 | 
			
		||||
    enable-all: true
 | 
			
		||||
    {{- if not .Hints }}
 | 
			
		||||
    disable:  # TODO: remove each disabled rule and fix it
 | 
			
		||||
      {{- if .Base }}
 | 
			
		||||
      - compares
 | 
			
		||||
      - error-is-as
 | 
			
		||||
      - error-nil
 | 
			
		||||
      - expected-actual
 | 
			
		||||
      - float-compare
 | 
			
		||||
      - go-require
 | 
			
		||||
      - nil-compare
 | 
			
		||||
      {{- end}}
 | 
			
		||||
      - require-error
 | 
			
		||||
    {{- end}}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user