| 
									
										
										
										
											2019-04-24 20:18:40 +08:00
										 |  |  | run:
 | 
					
						
							| 
									
										
										
										
											2019-05-03 21:11:28 +08:00
										 |  |  |   deadline: 5m
 | 
					
						
							| 
									
										
										
										
											2021-10-22 16:26:56 +08:00
										 |  |  |   skip-files:
 | 
					
						
							|  |  |  |     # Skip autogenerated files.
 | 
					
						
							|  |  |  |     - ^.*\.(pb|y)\.go$
 | 
					
						
							| 
									
										
										
										
											2019-04-24 20:18:40 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2020-03-23 22:32:37 +08:00
										 |  |  | linters:
 | 
					
						
							|  |  |  |   enable:
 | 
					
						
							| 
									
										
										
										
											2021-06-12 18:47:47 +08:00
										 |  |  |     - depguard
 | 
					
						
							| 
									
										
										
										
											2021-10-23 06:36:59 +08:00
										 |  |  |     - revive
 | 
					
						
							| 
									
										
										
										
											2020-03-23 22:32:37 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-05-03 21:11:28 +08:00
										 |  |  | issues:
 | 
					
						
							|  |  |  |   exclude-rules:
 | 
					
						
							| 
									
										
										
										
											2021-06-12 18:47:47 +08:00
										 |  |  |     - path: _test.go
 | 
					
						
							|  |  |  |       linters:
 | 
					
						
							|  |  |  |         - errcheck
 | 
					
						
							| 
									
										
										
										
											2019-05-03 21:11:28 +08:00
										 |  |  | 
 | 
					
						
							|  |  |  | linters-settings:
 | 
					
						
							| 
									
										
										
										
											2020-08-21 17:37:21 +08:00
										 |  |  |   depguard:
 | 
					
						
							|  |  |  |     list-type: blacklist
 | 
					
						
							|  |  |  |     include-go-root: true
 | 
					
						
							|  |  |  |     packages:
 | 
					
						
							|  |  |  |       - sync/atomic
 | 
					
						
							| 
									
										
										
										
											2020-10-29 18:09:08 +08:00
										 |  |  |       - github.com/stretchr/testify/assert
 | 
					
						
							| 
									
										
										
										
											2020-08-21 17:37:21 +08:00
										 |  |  |     packages-with-error-message:
 | 
					
						
							|  |  |  |       - sync/atomic: "Use go.uber.org/atomic instead of sync/atomic"
 | 
					
						
							| 
									
										
										
										
											2020-10-29 18:09:08 +08:00
										 |  |  |       - github.com/stretchr/testify/assert: "Use github.com/stretchr/testify/require instead of github.com/stretchr/testify/assert"
 | 
					
						
							| 
									
										
										
										
											2021-07-27 19:07:39 +08:00
										 |  |  |       - github.com/go-kit/kit/log: "Use github.com/go-kit/log instead of github.com/go-kit/kit/log"
 | 
					
						
							| 
									
										
										
										
											2019-05-03 21:11:28 +08:00
										 |  |  |   errcheck:
 | 
					
						
							|  |  |  |     exclude: scripts/errcheck_excludes.txt
 |