v0.9.4
Parser
- Allow analyzing
<%%=and<%%tags by @marcoroth in #1562 - Handle anonymous
**in strict locals by @marcoroth in #1567
Engine
- Introduce
GeneratorTemplateErrorby @marcoroth in #1558 - Fix leading whitespace before inline control tags after trimmed code lines by @joelhawksley in #1553
- Fix right-trim on expression block opening tags by @joelhawksley in #1554
Linter
New Linter Rules
- Implement
erb-prefer-direct-outputrule by @marcoroth in #1543
Updates Rules
- Fix
erb-no-unused-literalsto handle all assignments by @marcoroth in #1549 - Skip attribute values in
html-no-unescaped-entitiesby @marcoroth in #1550 - Allow
content_forandprovideinerb-no-unused-expressionsby @marcoroth in #1559 - Allow
return/break/nextinerb-no-unused-literalsby @marcoroth in #1565 - Respect SVG and MathML in
html-no-unknown-tagby @marcoroth in #1568
Formatter
- Don't produce indented lines with only whitespace by @marcoroth in #1552
- Keep
herb:disableon same line by @marcoroth in #1557
Config
- New rules should be a enabled without a
versionkey by @marcoroth in #1544
Commits
Full Changelog: v0.9.3...v0.9.4