mirror of
				https://github.com/TeaOSLab/EdgeAdmin.git
				synced 2025-11-04 05:00:25 +08:00 
			
		
		
		
	
		
			
	
	
		
			74 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			YAML
		
	
	
	
	
	
		
		
			
		
	
	
			74 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			YAML
		
	
	
	
	
	
| 
								 | 
							
								# https://golangci-lint.run/usage/configuration/
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								linters:
							 | 
						||
| 
								 | 
							
								  enable-all: true
							 | 
						||
| 
								 | 
							
								  disable:
							 | 
						||
| 
								 | 
							
								    - ifshort
							 | 
						||
| 
								 | 
							
								    - exhaustivestruct
							 | 
						||
| 
								 | 
							
								    - golint
							 | 
						||
| 
								 | 
							
								    - nosnakecase
							 | 
						||
| 
								 | 
							
								    - scopelint
							 | 
						||
| 
								 | 
							
								    - varcheck
							 | 
						||
| 
								 | 
							
								    - structcheck
							 | 
						||
| 
								 | 
							
								    - interfacer
							 | 
						||
| 
								 | 
							
								    - maligned
							 | 
						||
| 
								 | 
							
								    - deadcode
							 | 
						||
| 
								 | 
							
								    - dogsled
							 | 
						||
| 
								 | 
							
								    - wrapcheck
							 | 
						||
| 
								 | 
							
								    - wastedassign
							 | 
						||
| 
								 | 
							
								    - varnamelen
							 | 
						||
| 
								 | 
							
								    - testpackage
							 | 
						||
| 
								 | 
							
								    - thelper
							 | 
						||
| 
								 | 
							
								    - nilerr
							 | 
						||
| 
								 | 
							
								    - sqlclosecheck
							 | 
						||
| 
								 | 
							
								    - paralleltest
							 | 
						||
| 
								 | 
							
								    - nonamedreturns
							 | 
						||
| 
								 | 
							
								    - nlreturn
							 | 
						||
| 
								 | 
							
								    - nakedret
							 | 
						||
| 
								 | 
							
								    - ireturn
							 | 
						||
| 
								 | 
							
								    - interfacebloat
							 | 
						||
| 
								 | 
							
								    - gosmopolitan
							 | 
						||
| 
								 | 
							
								    - gomnd
							 | 
						||
| 
								 | 
							
								    - goerr113
							 | 
						||
| 
								 | 
							
								    - gochecknoglobals
							 | 
						||
| 
								 | 
							
								    - exhaustruct
							 | 
						||
| 
								 | 
							
								    - errorlint
							 | 
						||
| 
								 | 
							
								    - depguard
							 | 
						||
| 
								 | 
							
								    - exhaustive
							 | 
						||
| 
								 | 
							
								    - containedctx
							 | 
						||
| 
								 | 
							
								    - wsl
							 | 
						||
| 
								 | 
							
								    - cyclop
							 | 
						||
| 
								 | 
							
								    - dupword
							 | 
						||
| 
								 | 
							
								    - errchkjson
							 | 
						||
| 
								 | 
							
								    - contextcheck
							 | 
						||
| 
								 | 
							
								    - tagalign
							 | 
						||
| 
								 | 
							
								    - dupl
							 | 
						||
| 
								 | 
							
								    - forbidigo
							 | 
						||
| 
								 | 
							
								    - funlen
							 | 
						||
| 
								 | 
							
								    - goconst
							 | 
						||
| 
								 | 
							
								    - godox
							 | 
						||
| 
								 | 
							
								    - gosec
							 | 
						||
| 
								 | 
							
								    - lll
							 | 
						||
| 
								 | 
							
								    - nestif
							 | 
						||
| 
								 | 
							
								    - revive
							 | 
						||
| 
								 | 
							
								    - unparam
							 | 
						||
| 
								 | 
							
								    - stylecheck
							 | 
						||
| 
								 | 
							
								    - gocritic
							 | 
						||
| 
								 | 
							
								    - gofumpt
							 | 
						||
| 
								 | 
							
								    - gomoddirectives
							 | 
						||
| 
								 | 
							
								    - godot
							 | 
						||
| 
								 | 
							
								    - gofmt
							 | 
						||
| 
								 | 
							
								    - gocognit
							 | 
						||
| 
								 | 
							
								    - mirror
							 | 
						||
| 
								 | 
							
								    - gocyclo
							 | 
						||
| 
								 | 
							
								    - gochecknoinits
							 | 
						||
| 
								 | 
							
								    - gci
							 | 
						||
| 
								 | 
							
								    - maintidx
							 | 
						||
| 
								 | 
							
								    - prealloc
							 | 
						||
| 
								 | 
							
								    - goimports
							 | 
						||
| 
								 | 
							
								    - errname
							 | 
						||
| 
								 | 
							
								    - musttag
							 | 
						||
| 
								 | 
							
								    - forcetypeassert
							 | 
						||
| 
								 | 
							
								    - whitespace
							 | 
						||
| 
								 | 
							
								    - noctx
							 | 
						||
| 
								 | 
							
								    - reassign
							 |