Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Conversation

jason89521
Copy link

Why

close #749

What

Support preserve-comments-position for the fix subcommand.

How

  1. Add preserve-comments-position in the command arguments parser, and the FixOptions struct.
  2. If preserve-comments-position is true, then stop grouping the comment with the other line when the sort_part method is invoked.

✔ Checklist:

  • Commit messages have been written in Conventional Commits format;
  • Tests for the changes have been added (for bug fixes / features);
  • Docs have been added / updated on the dotenv-linter.github.io (for bug fixes / features).

@codecov-commenter
Copy link

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 99.11%. Comparing base (5b6de3a) to head (f85005e).
Report is 14 commits behind head on master.

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #806      +/-   ##
==========================================
- Coverage   99.15%   99.11%   -0.04%     
==========================================
  Files          46       48       +2     
  Lines        2834     3172     +338     
==========================================
+ Hits         2810     3144     +334     
- Misses         24       28       +4     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@jason89521 jason89521 changed the title feat(fixes): support preserver-comments-position arg feat(fixes): support preserve\r-comments-position arg Aug 1, 2024
@jason89521 jason89521 changed the title feat(fixes): support preserve\r-comments-position arg feat(fixes): support preserve-comments-position arg Aug 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

on fix action support comment for group

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.