mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2026-04-25 09:16:02 +03:00
[GH-ISSUE #403] MD044: Fixes are too greedy #335
Labels
No labels
bug
enhancement
enhancement
enhancement
fixed in next
fixed in next
fixed in next
new rule
new rule
new rule
pull-request
question
refactoring
refactoring
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/markdownlint#335
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @skyzyx on GitHub (Jun 4, 2021).
Original GitHub issue: https://github.com/DavidAnson/markdownlint/issues/403
0.27.1~0.23.1I run into this issue often where ignoring code blocks is sometimes followed, and sometimes not. Also, sometimes the globbing of the word is greedier than I'd like (e.g.,
docker.service→Docker). But maybe the latter is a separate issue.https://dlaa.me/markdownlint/#%25m%23%20Issue%20403%0A%0AThe%20proper%20case%20is%3A%20Docker%0A%0AFixing%20this%20in%20the%20other%20panel%20will%20glob%20too%20greedily%3A%20%60%2Fvar%2Flib%2Fdocker%2Foverlay2%60%0A%0A%3C!--%20markdownlint-configure-file%20%7B%0A%20%20%20%20%22proper-names%22%3A%20%7B%0A%20%20%20%20%20%20%20%20%22names%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Docker%22%0A%20%20%20%20%20%20%20%20%5D%0A%20%20%20%20%7D%2C%0A%20%20%20%20%22code_blocks%22%3A%20false%0A%7D%20--%3E%0A
@DavidAnson commented on GitHub (Jun 4, 2021):
If you fix the configuration per issue #402, is this still an issue?
@DavidAnson commented on GitHub (Jun 13, 2021):
Updated repro: https://dlaa.me/markdownlint/#%25m%23%20Issue%20403%0A%0AThe%20proper%20case%20is%3A%20Docker%0A%0AFixing%20this%20in%20the%20other%20panel%20will%20glob%20too%20greedily%3A%20%60%2Fvar%2Flib%2Fdocker%2Foverlay2%60%0A%0A%3C!--%20markdownlint-configure-file%20%7B%0A%20%20%20%20%22proper-names%22%3A%20%7B%0A%20%20%20%20%20%20%20%20%22names%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Docker%22%0A%20%20%20%20%20%20%20%20%5D%0A%20%20%20%20%7D%0A%7D%20--%3E%0A
@shaggy-2 commented on GitHub (Jun 14, 2021):
The proper case is: Docker
Fixing this in the other panel will glob too greedily:
/var/lib/docker/overlay2