ackama / rails-template

Application template for Rails 7 projects; preloaded with best practices for TDD, security, deployment, and developer productivity.
Other
294 stars 15 forks source link

refactor: always expect self closing tags for void elements in ERB #510

Closed G-Rath closed 9 months ago

G-Rath commented 10 months ago

This aligns with what Prettier enforces for normal HTML files and what JSX requires; while there is a very small cost in bytes it doesn't outweigh the benefit in being consistent across our stacks and code.

Resolves #509