Closed j9t closed 1 month ago
The recent updates enhance the ObsoHTML tool by expanding its capability to identify obsolete HTML elements and attributes in additional templating languages, specifically Nunjucks and Twig. The enhancements include changes to the script's file processing logic and the introduction of new test cases to validate these improvements. The version number in the package has also been incremented, reflecting these notable additions and improvements.
File | Change Summary |
---|---|
README.md |
Expanded the description of ObsoHTML to include support for Nunjucks and Twig file types. |
bin/obsohtml.js |
Modified walkDirectory function to support .njk and .twig file extensions for obsolescence detection. |
bin/obsohtml.test.js |
Added a test case for detecting obsolete elements in Twig files, including setup and cleanup for a temporary test file. |
package.json |
Updated version number from "1.5.0" to "1.6.0". |
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Summary by CodeRabbit
New Features
Tests
Chores