Skip to content
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

fix: Do not automatically remove unmatched start/end directives when fixing. #56

Merged
merged 5 commits into from
Dec 16, 2024

Conversation

JeffFaer
Copy link
Collaborator

Still raise them in a lint warning, though.

Also, having an unmatched start/end directive likely means that the blocks we do have are just straight up wrong. Stop trying to sort them automatically.

Fixes #50

…fixing.

Still raise them in a lint warning, though.

Also, having an unmatched start/end directive likely means that the
blocks we _do_ have are just straight up wrong. Stop trying to sort them
automatically.

Fixes #50
@JeffFaer JeffFaer merged commit cfd64db into main Dec 16, 2024
5 checks passed
@JeffFaer JeffFaer deleted the jfaer/unmatched_directives branch December 16, 2024 17:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

keep-sorted's handling of unmatched directives is a little awkward
2 participants