-
Couldn't load subscription status.
- Fork 14
feat: add lineMode option to parser for flexible line formatting #7
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
Conversation
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@ ## master #7 +/- ## ========================================== + Coverage 92.39% 92.69% +0.29% ========================================== Files 1 1 Lines 171 178 +7 ========================================== + Hits 158 165 +7 Misses 13 13 ☔ View full report in Codecov by Sentry. 🚨 Try these New Features:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
| /ask Enhance the test coverage for |
Ask❓Enhance the test coverage for Answer:To enhance the test coverage for the
By adding these tests, you can ensure that the |
lineMode option to parser for flexible line formatting 4a8d208 to 03e21aa Compare
PR Type
enhancement, documentation
Description
lineModeoption in the parser to allow different formats for parsed lines: 'original', 'minimal', and 'compact'.lineModeoption, replacing the oldnoParseLineoption.stripCommentsfunction to separate comment stripping and whitespace removal.lineModeoption and provide usage examples.Changes walkthrough 📝
index.js
Add lineMode option for flexible line parsingsrc/index.js
lineModeoption to control line parsing format.noParseLinewithlineModefor more flexibility.lineModesettings.index.test.js
Update tests for lineMode optionsrc/tests/index.test.js
noParseLineoption.lineModefunctionality.README.md
Document lineMode option and usage examplesREADME.md
lineModeoption.noParseLineoption.lineModesettings.