Why this matters
Ruby does not require semicolons at the end of statements. Using them unnecessarily reduces readability and goes against standard Ruby conventions.
Detect unnecessary semicolons at the end of statements. Ruby does not require semicolons, so they should be removed unless multiple statements exist on the same line.
Ruby does not require semicolons at the end of statements. Using them unnecessarily reduces readability and goes against standard Ruby conventions.
Side-by-side examples engineers can pattern-match during review.
puts 'Hello, world!'; # unnecessary semicolo
puts 'Hello, world!'
puts 'Hello, world!'; # unnecessary semicolo
puts 'Hello, world!'
From the same buckets as this rule.