Evan Silberman 
							
						 
					 
					
						
						
							
						
						944d87915a 
					 
					
						
						
							
							Recognize "oksh" executable name as ksh  
						
						... 
						
						
						
						A portable version of OpenBSD's ksh is distributed with the executable
name oksh [1]. It's a descendant of pdksh and can be shellchecked as
ksh.
[1]: https://github.com/ibara/oksh  
						
						
					 
					
						2024-11-11 11:24:21 -08:00 
						 
				 
			
				
					
						
							
							
								Vidar Holen 
							
						 
					 
					
						
						
							
						
						5e3e98bcb0 
					 
					
						
						
							
							Use CFG to determine use-before-define for SC2218 ( fixes   #3070 )  
						
						
						
						
					 
					
						2024-10-27 15:43:30 -07:00 
						 
				 
			
				
					
						
							
							
								Vidar Holen 
							
						 
					 
					
						
						
							
						
						79e43c4550 
					 
					
						
						
							
							Allow parsing arbitrary coproc names ( fixes   #3048 )  
						
						
						
						
					 
					
						2024-09-07 17:14:52 -07:00 
						 
				 
			
				
					
						
							
							
								Vidar Holen 
							
						 
					 
					
						
						
							
						
						88e441453b 
					 
					
						
						
							
							Make SC2002 optional (useless-use-of-cat)  
						
						
						
						
					 
					
						2024-08-31 18:31:47 -07:00 
						 
				 
			
				
					
						
							
							
								Vidar Holen 
							
						 
					 
					
						
						
							
						
						1487e57a46 
					 
					
						
						
							
							Suppress unused warnings about stderr and stderr_lines from bats tests, fixing tests.  
						
						
						
						
					 
					
						2024-08-31 18:27:18 -07:00 
						 
				 
			
				
					
						
							
							
								Vidar Holen 
							
						 
					 
					
						
						
							
						
						68e6f02267 
					 
					
						
						
							
							Expand list of recognized unicode spaces (and rewrite for performance)  
						
						
						
						
					 
					
						2024-08-31 18:00:49 -07:00 
						 
				 
			
				
					
						
							
							
								Vidar Holen 
							
						 
					 
					
						
						
							
						
						17ebc3dda0 
					 
					
						
						
							
							Merge pull request  #2973  from jandubois/bats-stderr  
						
						... 
						
						
						
						Add new bats variables stderr and stderr_lines 
						
						
					 
					
						2024-08-04 16:52:59 -07:00 
						 
				 
			
				
					
						
							
							
								Vidar Holen 
							
						 
					 
					
						
						
							
						
						4cd76283da 
					 
					
						
						
							
							Merge pull request  #3011  from sertonix/busybox-3003  
						
						... 
						
						
						
						Fix SC3003, SC3036 and SC3045 for busybox shell 
						
						
					 
					
						2024-08-04 16:52:15 -07:00 
						 
				 
			
				
					
						
							
							
								Vidar Holen 
							
						 
					 
					
						
						
							
						
						cd6fdee99b 
					 
					
						
						
							
							Merge pull request  #3034  from dereckson/SC2016-oc  
						
						... 
						
						
						
						Whitelist oc to avoid SC2016 false positive 
						
						
					 
					
						2024-08-04 16:50:30 -07:00 
						 
				 
			
				
					
						
							
							
								Emil Berg 
							
						 
					 
					
						
						
							
						
						38c5ba7c79 
					 
					
						
						
							
							Fix typos and trailing whitespace  
						
						
						
						
					 
					
						2024-08-03 08:49:40 +02:00 
						 
				 
			
				
					
						
							
							
								Sébastien Santoro 
							
						 
					 
					
						
						
							
						
						2696c6472d 
					 
					
						
						
							
							Whitelist oc to avoid SC2016 false positive  
						
						... 
						
						
						
						Fixes  #3033 . 
					
						2024-07-31 13:33:25 +00:00 
						 
				 
			
				
					
						
							
							
								Sertonix 
							
						 
					 
					
						
						
							
						
						6d2f3d8628 
					 
					
						
						
							
							Allow 'echo -e' in busybox shell  
						
						
						
						
					 
					
						2024-07-09 16:58:50 +02:00 
						 
				 
			
				
					
						
							
							
								Sertonix 
							
						 
					 
					
						
						
							
						
						4c85274921 
					 
					
						
						
							
							Fix SC3045 for busybox shell  
						
						
						
						
					 
					
						2024-07-09 16:57:44 +02:00 
						 
				 
			
				
					
						
							
							
								Sertonix 
							
						 
					 
					
						
						
							
						
						6593096ba0 
					 
					
						
						
							
							Allow SC3003 on busybox shell  
						
						
						
						
					 
					
						2024-07-09 16:56:59 +02:00 
						 
				 
			
				
					
						
							
							
								Joseph C. Sible 
							
						 
					 
					
						
						
							
						
						98b8dc0720 
					 
					
						
						
							
							Use fromList instead of reimplementing it in terms of foldl  
						
						
						
						
					 
					
						2024-07-07 01:28:06 -04:00 
						 
				 
			
				
					
						
							
							
								Joseph C. Sible 
							
						 
					 
					
						
						
							
						
						95c0cc2e4b 
					 
					
						
						
							
							Simplify removeUnnecessaryStructuralNodes  
						
						
						
						
					 
					
						2024-07-07 01:28:06 -04:00 
						 
				 
			
				
					
						
							
							
								Joseph C. Sible 
							
						 
					 
					
						
						
							
						
						e5fdec970a 
					 
					
						
						
							
							Swap the order of the tuple returned by orderEdge  
						
						
						
						
					 
					
						2024-07-07 01:28:06 -04:00 
						 
				 
			
				
					
						
							
							
								Joseph C. Sible 
							
						 
					 
					
						
						
							
						
						8746c6e7f2 
					 
					
						
						
							
							Switch the order of the maps to avoid unnecessary unionWith instead of union  
						
						
						
						
					 
					
						2024-07-07 01:28:06 -04:00 
						 
				 
			
				
					
						
							
							
								Joseph C. Sible 
							
						 
					 
					
						
						
							
						
						61b7e66f80 
					 
					
						
						
							
							Use sets instead of maps that never use their values  
						
						
						
						
					 
					
						2024-07-07 01:28:06 -04:00 
						 
				 
			
				
					
						
							
							
								Joseph C. Sible 
							
						 
					 
					
						
						
							
						
						b408f54620 
					 
					
						
						
							
							Simplify invokedNodes  
						
						
						
						
					 
					
						2024-07-07 01:28:00 -04:00 
						 
				 
			
				
					
						
							
							
								Vidar Holen 
							
						 
					 
					
						
						
							
						
						ac8fb00504 
					 
					
						
						
							
							Account for BusyBox support of [[ ]] ( fixes   #2967 )  
						
						
						
						
					 
					
						2024-05-04 16:45:52 -07:00 
						 
				 
			
				
					
						
							
							
								Vidar Holen 
							
						 
					 
					
						
						
							
						
						a13cb85f49 
					 
					
						
						
							
							Fixed broken test due to bad build cache  
						
						
						
						
					 
					
						2024-05-04 16:34:21 -07:00 
						 
				 
			
				
					
						
							
							
								Vidar Holen 
							
						 
					 
					
						
						
							
						
						a7a906e2cb 
					 
					
						
						
							
							Allow SC2154 to trigger in arrays ( fixes   #2970 )  
						
						
						
						
					 
					
						2024-05-04 16:29:51 -07:00 
						 
				 
			
				
					
						
							
							
								Vidar Holen 
							
						 
					 
					
						
						
							
						
						d705716dc4 
					 
					
						
						
							
							Account for annotations in SC2215.  Fixes   #2975 .  
						
						
						
						
					 
					
						2024-05-04 15:22:09 -07:00 
						 
				 
			
				
					
						
							
							
								Vidar Holen 
							
						 
					 
					
						
						
							
						
						76ff702e93 
					 
					
						
						
							
							Supress SC2015 about A && B || C when B is a test.  
						
						
						
						
					 
					
						2024-05-04 15:12:13 -07:00 
						 
				 
			
				
					
						
							
							
								Vidar Holen 
							
						 
					 
					
						
						
							
						
						4f81dbe839 
					 
					
						
						
							
							Add warning about uninvoked functions, reduce repeated triggering of SC2317 ( fixes   #2966 )  
						
						
						
						
					 
					
						2024-05-04 14:35:26 -07:00 
						 
				 
			
				
					
						
							
							
								Jan Dubois 
							
						 
					 
					
						
						
							
						
						796c6bd848 
					 
					
						
						
							
							Add new bats variables stderr and stderr_lines  
						
						... 
						
						
						
						These are being set by `run --separate-stderr` and have been introduced
in https://github.com/bats-core/bats-core/releases/tag/v1.5.0  
						
						
					 
					
						2024-04-24 19:07:57 -07:00 
						 
				 
			
				
					
						
							
							
								Vidar Holen 
							
						 
					 
					
						
						
							
						
						2c5155e43d 
					 
					
						
						
							
							Warn about capturing the output of redirected commands.  
						
						
						
						
					 
					
						2024-04-14 18:47:19 -07:00 
						 
				 
			
				
					
						
							
							
								Vidar Holen 
							
						 
					 
					
						
						
							
						
						04a86245a1 
					 
					
						
						
							
							Remove trailing space in output ( fixes   #2961 )  
						
						
						
						
					 
					
						2024-04-08 20:24:28 -07:00 
						 
				 
			
				
					
						
							
							
								Lawrence Velázquez 
							
						 
					 
					
						
						
							
						
						9cb21c8557 
					 
					
						
						
							
							Recommend typeset instead of declare in SC2324  
						
						... 
						
						
						
						Bash has both `typeset` and `declare`, but ksh has `typeset` only.
Recommend the more portable alternative to users. 
						
						
					 
					
						2024-03-08 18:24:08 -05:00 
						 
				 
			
				
					
						
							
							
								Vidar Holen 
							
						 
					 
					
						
						
							
						
						a7e65dca8d 
					 
					
						
						
							
							Update some copyright years  
						
						
						
						
					 
					
						2024-03-04 09:19:51 -08:00 
						 
				 
			
				
					
						
							
							
								Vidar Holen 
							
						 
					 
					
						
						
							
						
						d80fdfa9e8 
					 
					
						
						
							
							Add extended-analysis directive to toggle DFA  
						
						
						
						
					 
					
						2024-02-03 16:11:39 -08:00 
						 
				 
			
				
					
						
							
							
								Joseph C. Sible 
							
						 
					 
					
						
						
							
						
						ba86c6363c 
					 
					
						
						
							
							Use maybe instead of fromMaybe and fmap  
						
						
						
						
					 
					
						2024-01-02 14:46:07 -05:00 
						 
				 
			
				
					
						
							
							
								Joseph C. Sible 
							
						 
					 
					
						
						
							
						
						67abfe159e 
					 
					
						
						
							
							Remove most of the partial head and tail functions from src/ShellCheck/CFG.hs  
						
						
						
						
					 
					
						2024-01-01 19:04:26 -05:00 
						 
				 
			
				
					
						
							
							
								Joseph C. Sible 
							
						 
					 
					
						
						
							
						
						025cc5266e 
					 
					
						
						
							
							Simplify isUnquotedFlag  
						
						
						
						
					 
					
						2024-01-01 16:00:19 -05:00 
						 
				 
			
				
					
						
							
							
								Joseph C. Sible 
							
						 
					 
					
						
						
							
						
						5a6f4840ad 
					 
					
						
						
							
							Replace a few more occurrences of !!! with pattern matching  
						
						
						
						
					 
					
						2024-01-01 14:18:52 -05:00 
						 
				 
			
				
					
						
							
							
								Joseph C. Sible 
							
						 
					 
					
						
						
							
						
						9e0fdbe431 
					 
					
						
						
							
							Simplify isTransparentCommand  
						
						
						
						
					 
					
						2023-12-31 18:13:32 -05:00 
						 
				 
			
				
					
						
							
							
								Joseph C. Sible 
							
						 
					 
					
						
						
							
						
						b7f88ec4b7 
					 
					
						
						
							
							Stop building tuples that we never look at both sides of  
						
						
						
						
					 
					
						2023-12-31 18:09:02 -05:00 
						 
				 
			
				
					
						
							
							
								Joseph C. Sible 
							
						 
					 
					
						
						
							
						
						7b0589988f 
					 
					
						
						
							
							Implement isCondition in terms of foldr  
						
						
						
						
					 
					
						2023-12-31 17:21:50 -05:00 
						 
				 
			
				
					
						
							
							
								Joseph C. Sible 
							
						 
					 
					
						
						
							
						
						71889c139a 
					 
					
						
						
							
							Use a case expression instead of any and take 1  
						
						
						
						
					 
					
						2023-12-31 16:44:21 -05:00 
						 
				 
			
				
					
						
							
							
								Joseph C. Sible 
							
						 
					 
					
						
						
							
						
						a6984cddb0 
					 
					
						
						
							
							Switch then and else to remove a not  
						
						
						
						
					 
					
						2023-12-31 16:40:18 -05:00 
						 
				 
			
				
					
						
							
							
								Joseph C. Sible 
							
						 
					 
					
						
						
							
						
						3f40b688ee 
					 
					
						
						
							
							Simplify getStringFromParsec  
						
						
						
						
					 
					
						2023-12-31 16:33:34 -05:00 
						 
				 
			
				
					
						
							
							
								Joseph C. Sible 
							
						 
					 
					
						
						
							
						
						6c81505870 
					 
					
						
						
							
							Use a pattern guard instead of fromJust in checkLoopKeywordScope  
						
						
						
						
					 
					
						2023-12-31 16:26:03 -05:00 
						 
				 
			
				
					
						
							
							
								Joseph C. Sible 
							
						 
					 
					
						
						
							
						
						10afe83ce3 
					 
					
						
						
							
							Use getLiteralStringDef instead of rebuilding it with fromJust  
						
						
						
						
					 
					
						2023-12-31 16:23:45 -05:00 
						 
				 
			
				
					
						
							
							
								Joseph C. Sible 
							
						 
					 
					
						
						
							
						
						a786f996a1 
					 
					
						
						
							
							Replace !!! with pattern-matching where it's easy  
						
						
						
						
					 
					
						2023-12-31 15:55:06 -05:00 
						 
				 
			
				
					
						
							
							
								Joseph C. Sible 
							
						 
					 
					
						
						
							
						
						6e5b5401c6 
					 
					
						
						
							
							Manually fuse elem and map in checkArrayValueUsedAsIndex  
						
						
						
						
					 
					
						2023-12-31 02:31:07 -05:00 
						 
				 
			
				
					
						
							
							
								Joseph C. Sible 
							
						 
					 
					
						
						
							
						
						71c0fcb737 
					 
					
						
						
							
							Manually fuse elem and map in isParentOf  
						
						
						
						
					 
					
						2023-12-31 02:27:52 -05:00 
						 
				 
			
				
					
						
							
							
								Joseph C. Sible 
							
						 
					 
					
						
						
							
						
						add49cda17 
					 
					
						
						
							
							Make getPath return a NonEmpty  
						
						
						
						
					 
					
						2023-12-31 02:12:58 -05:00 
						 
				 
			
				
					
						
							
							
								Joseph C. Sible 
							
						 
					 
					
						
						
							
						
						e1ad063834 
					 
					
						
						
							
							Implement getPath in terms of unfoldr  
						
						
						
						
					 
					
						2023-12-31 01:59:53 -05:00 
						 
				 
			
				
					
						
							
							
								Joseph C. Sible 
							
						 
					 
					
						
						
							
						
						980e7d3ca8 
					 
					
						
						
							
							Use <$> instead of >>= and return  
						
						
						
						
					 
					
						2023-12-30 14:49:26 -05:00