Miles Delahunty 4bb48df5d2 
	
	
	refactor: extract shared code for linting if-else chains ( #821 ) ... 
			* refactor: extract shared code for linting if-else chains
The rules "early-return", "indent-error-flow" and
"superfluous-else" have a similar structure. This
moves the common logic for classifying if-else chains
to a common package.
A few side benefits:
- "early-return" now handles os.Exit/log.Panicf/etc
- "superfluous-else" now handles (builtin) panic
- "superfluous-else" and "indent-error-flow" now handle if/else
  chains with 2+ "if" branches
* internal/ifelse: style fixes, renames, spelling 
		
	 
		2023-05-17 13:51:35 +02:00 
	 
	
	
	
		 
	
	
		
			
			
			
			
			
			2022-10-13 13:23:23 +02:00 
		 
	
		
			
			
			
			
			
			2022-04-10 11:55:13 +02:00 
		 
	
		
			
			
			
			
			
			2022-04-10 11:55:13 +02:00 
		 
	
		
			
			
			
			
			
			2022-04-10 11:55:13 +02:00 
		 
	
		
			
			
			
			
			
			2022-04-10 11:55:13 +02:00 
		 
	
		
			
			
			
			
			
			2022-04-10 11:55:13 +02:00 
		 
	
		
			
			
			
			
			
			2022-04-10 11:55:13 +02:00 
		 
	
		
			
			
			
			
			
			2022-04-10 11:55:13 +02:00 
		 
	
		
			
			
			
			
			
			2022-04-10 11:55:13 +02:00 
		 
	
		
			
			
			
			
			
			2023-05-09 16:20:58 +02:00 
		 
	
		
			
			
			
			
			
			2022-04-10 11:55:13 +02:00 
		 
	
		
			
			
			
			
			
			2022-04-10 11:55:13 +02:00 
		 
	
		
			
			
			
			
			
			2022-04-10 11:55:13 +02:00 
		 
	
		
			
			
			
			
			
			2022-04-10 11:55:13 +02:00 
		 
	
		
			
			
			
			
			
			2022-04-10 11:55:13 +02:00 
		 
	
		
			
			
			
			
			
			2022-04-10 11:55:13 +02:00 
		 
	
		
			
			
			
			
			
			2022-04-18 09:45:42 -07:00 
		 
	
		
			
			
			
			
			
			2022-04-10 11:55:13 +02:00 
		 
	
		
			
			
			
			
			
			2022-07-24 09:34:16 +02:00 
		 
	
		
			
			
			
			
			
			2022-04-10 11:55:13 +02:00 
		 
	
		
			
			
			
			
			
			2022-04-10 11:55:13 +02:00 
		 
	
		
			
			
			
			
			
			2023-05-17 13:51:35 +02:00 
		 
	
		
			
			
			
			
			
			2023-05-01 10:44:48 +02:00 
		 
	
		
			
			
			
			
			
			2022-08-27 13:18:17 +02:00 
		 
	
		
			
			
			
			
			
			2022-04-10 11:55:13 +02:00 
		 
	
		
			
			
			
			
			
			2022-04-10 11:55:13 +02:00 
		 
	
		
			
			
			
			
			
			2022-07-05 21:51:50 +02:00 
		 
	
		
			
			
			
			
			
			2022-04-10 11:55:13 +02:00 
		 
	
		
			
			
			
			
			
			2022-06-28 18:14:26 +03:00 
		 
	
		
			
			
			
			
			
			2022-04-10 11:55:13 +02:00 
		 
	
		
			
			
			
			
			
			2022-04-10 11:55:13 +02:00 
		 
	
		
			
			
			
			
			
			2022-09-10 09:08:17 +02:00 
		 
	
		
			
			
			
			
			
			2022-04-10 11:55:13 +02:00 
		 
	
		
			
			
			
			
			
			2022-04-10 11:55:13 +02:00 
		 
	
		
			
			
			
			
			
			2022-10-24 17:21:48 +02:00 
		 
	
		
			
			
			
			
			
			2022-04-10 11:55:13 +02:00 
		 
	
		
			
			
			
			
			
			2022-04-10 11:55:13 +02:00 
		 
	
		
			
			
			
			
			
			2022-04-21 16:04:00 +02:00 
		 
	
		
			
			
			
			
			
			2022-04-10 11:55:13 +02:00 
		 
	
		
			
			
			
			
			
			2023-05-17 13:51:35 +02:00 
		 
	
		
			
			
			
			
			
			2022-04-10 11:55:13 +02:00 
		 
	
		
			
			
			
			
			
			2022-04-10 11:55:13 +02:00 
		 
	
		
			
			
			
			
			
			2022-04-10 11:55:13 +02:00 
		 
	
		
			
			
			
			
			
			2022-04-10 11:55:13 +02:00 
		 
	
		
			
			
			
			
			
			2023-05-16 10:31:25 +02:00 
		 
	
		
			
			
			
			
			
			2022-04-10 11:55:13 +02:00 
		 
	
		
			
			
			
			
			
			2023-02-17 21:39:51 +01:00 
		 
	
		
			
			
			
			
			
			2022-04-10 11:55:13 +02:00 
		 
	
		
			
			
			
			
			
			2022-04-10 11:55:13 +02:00 
		 
	
		
			
			
			
			
			
			2022-04-10 11:55:13 +02:00 
		 
	
		
			
			
			
			
			
			2022-06-18 18:47:53 +02:00 
		 
	
		
			
			
			
			
			
			2023-02-18 10:57:06 +01:00 
		 
	
		
			
			
			
			
			
			2022-10-24 20:48:41 +02:00 
		 
	
		
			
			
			
			
			
			2022-04-10 11:55:13 +02:00 
		 
	
		
			
			
			
			
			
			2023-05-16 08:09:20 +02:00 
		 
	
		
			
			
			
			
			
			2023-05-17 13:51:35 +02:00 
		 
	
		
			
			
			
			
			
			2021-10-01 13:55:53 +02:00 
		 
	
		
			
			
			
			
			
			2022-04-10 11:55:13 +02:00 
		 
	
		
			
			
			
			
			
			2022-08-08 13:48:59 +02:00 
		 
	
		
			
			
			
			
			
			2022-04-10 11:55:13 +02:00 
		 
	
		
			
			
			
			
			
			2022-06-18 18:47:53 +02:00 
		 
	
		
			
			
			
			
			
			2022-11-09 13:13:52 +01:00 
		 
	
		
			
			
			
			
			
			2022-04-10 11:55:13 +02:00 
		 
	
		
			
			
			
			
			
			2022-07-20 15:41:31 -07:00 
		 
	
		
			
			
			
			
			
			2022-04-10 11:55:13 +02:00 
		 
	
		
			
			
			
			
			
			2020-08-15 00:50:13 +03:00 
		 
	
		
			
			
			
			
			
			2022-04-10 11:55:13 +02:00 
		 
	
		
			
			
			
			
			
			2022-04-10 11:55:13 +02:00 
		 
	
		
			
			
			
			
			
			2022-06-18 18:47:53 +02:00 
		 
	
		
			
			
			
			
			
			2022-04-10 11:55:13 +02:00 
		 
	
		
			
			
			
			
			
			2023-02-27 19:56:30 +01:00 
		 
	
		
			
			
			
			
			
			2022-04-10 11:55:13 +02:00