Why this matters
Non-boolean properties and variables should be titled using noun phrases to improve clarity and readability. Using verb-like titles can cause confusion.
Ensure that non-boolean properties or variables are titled with noun phrases (e.g., `userDetails`, not `getUserDetails`). This improves readability.
Non-boolean properties and variables should be titled using noun phrases to improve clarity and readability. Using verb-like titles can cause confusion.
Side-by-side examples engineers can pattern-match during review.
list.deleteItemslist.length
context.lineWidth
quest.rampagingSwampBeastlist.deleteItemslist.length
context.lineWidth
quest.rampagingSwampBeastFrom 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.