File tree Expand file tree Collapse file tree 1 file changed +21
-30
lines changed Expand file tree Collapse file tree 1 file changed +21
-30
lines changed Original file line number Diff line number Diff line change 1- version : " 2" 
1+ formatters :
2+   enable :
3+     - gofumpt 
4+     - goimports 
5+   settings :
6+     goimports :
7+       local-prefixes :
8+         - github.com/prometheus/common 
9+ issues :
10+   max-issues-per-linter : 0 
11+   max-same-issues : 0 
212linters :
313  enable :
414    - errorlint 
515    - misspell 
616    - perfsprint 
717    - revive 
818    - testifylint 
19+   exclusions :
20+     generated : strict 
21+     presets :
22+       - comments 
23+       - common-false-positives 
24+       - legacy 
25+       - std-error-handling 
26+     warn-unused : true 
927  settings :
1028    perfsprint :
1129      #  Optimizes even if it requires an int or uint type cast.
@@ -25,36 +43,9 @@ linters:
2543          severity : warning 
2644          disabled : true 
2745    testifylint :
28-       enable-all : true 
2946      disable :
3047        - go-require 
48+       enable-all : true 
3149      formatter :
3250        require-f-funcs : true 
33-   exclusions :
34-     generated : lax 
35-     presets :
36-       - comments 
37-       - common-false-positives 
38-       - legacy 
39-       - std-error-handling 
40-     paths :
41-       - third_party$ 
42-       - builtin$ 
43-       - examples$ 
44- issues :
45-   max-issues-per-linter : 0 
46-   max-same-issues : 0 
47- formatters :
48-   enable :
49-     - gofumpt 
50-     - goimports 
51-   settings :
52-     goimports :
53-       local-prefixes :
54-         - github.com/prometheus/common 
55-   exclusions :
56-     generated : lax 
57-     paths :
58-       - third_party$ 
59-       - builtin$ 
60-       - examples$ 
51+ version : " 2" 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments