-
-
Notifications
You must be signed in to change notification settings - Fork 158
feat: Sort (markdown) output by file path #1619
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
Comments
Good idea. The content is in a data structure called lychee/lychee-bin/src/formatters/stats/markdown.rs Lines 128 to 136 in 3fb94e0
lychee/lychee-bin/src/formatters/stats/compact.rs Lines 40 to 48 in 3fb94e0
lychee/lychee-bin/src/formatters/stats/detailed.rs Lines 52 to 74 in 3fb94e0
The proper way to change this would be to return the I'd be thankful for a pull request if anyone wants to tackle this. Should be pretty straightforward. |
Currently, each run of lychee sorts the files where broken links are found in another kind of random order. That makes it difficult to compare different outputs.
I suggest to let lychee by default sort the headings of the output.
(A workaround is to do it manually afterwards, but it would be nice to have it inside lychee)
The text was updated successfully, but these errors were encountered: