Why this matters
Guarantees minimum observability of failures.
Every catch block must log or report the error at least once before handling or rethrowing.
Guarantees minimum observability of failures.
Side-by-side examples engineers can pattern-match during review.
catch(e){ return null }catch(e){ logger.warn('parse failed',{e}); return null }catch(e){ /* noop */ }catch(e){ logger.error(e) }From the same buckets as this rule.
Check if loops use equality operators (== or !=) in termination conditions. These can lead to infinite loops if the condition is never met exactly. Instead, use relational operators like < or > for safer loop termination.