-
-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve attribute detection regex #4
Conversation
Adjusted the regular expression to better identify obsolete attributes, including those with minimized forms. Updated tests to handle new minimized attribute cases and ensure comprehensive coverage. Signed-off-by: Jens Oliver Meiert <[email protected]>
Updated version in package.json and package-lock.json from 1.3.2 to 1.4.0. This includes necessary adjustments to dependencies and ensures consistency across the project files. Signed-off-by: Jens Oliver Meiert <[email protected]>
WalkthroughThis update enhances the project by adding an "Acknowledgments" section to the Changes
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? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (invoked as PR comments)
Additionally, you can add CodeRabbit Configuration File (
|
Included acknowledgments for contributors in the README. This recognizes the efforts of @mattbrundage and @FabianBeiner in improving the project. Signed-off-by: Jens Oliver Meiert <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
Outside diff range, codebase verification and nitpick comments (1)
README.md (1)
81-83
: Consider improving the phrasing in the Acknowledgments section.The phrase "for helping to make ObsoHTML better" could be rephrased for better clarity and style.
- Thanks to @mattbrundage and @FabianBeiner for helping to make ObsoHTML better! + Thanks to @mattbrundage and @FabianBeiner for their contributions to improving ObsoHTML!Tools
LanguageTool
[style] ~83-~83: The wording of this phrase can be improved.
Context: ...undage and @FabianBeiner for helping to make ObsoHTML better!(MAKE_STYLE_BETTER)
Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Files ignored due to path filters (1)
package-lock.json
is excluded by!**/package-lock.json
Files selected for processing (4)
- README.md (1 hunks)
- bin/obsohtml.js (1 hunks)
- bin/obsohtml.test.js (3 hunks)
- package.json (1 hunks)
Files skipped from review due to trivial changes (1)
- package.json
Additional context used
LanguageTool
README.md
[style] ~83-~83: The wording of this phrase can be improved.
Context: ...undage and @FabianBeiner for helping to make ObsoHTML better!(MAKE_STYLE_BETTER)
Additional comments not posted (2)
bin/obsohtml.test.js (1)
Line range hint
8-56
:
Test suite updates look good!The changes improve test coverage by adding a new test for minimized attributes and ensuring proper setup and teardown of test files.
bin/obsohtml.js (1)
37-37
: Regex update enhances attribute detection.The refined regex pattern improves the detection of obsolete attributes, particularly in minimized forms, enhancing the robustness of the detection logic.
Adjusted the regular expression to better identify obsolete attributes, including those with minimized forms. Updated tests to handle new minimized attribute cases and ensure comprehensive coverage.
Summary by CodeRabbit