Bug: capitalize-headings, yaml-title, yaml-title-alias require two lint passes to resolve #1130
Closed
3 tasks done
Labels
bug
Something isn't working
resolution/update-made
A change has been made that should resolve this issue or request
Describe the Bug
When using capitalize-headings and then yaml-title or yaml-title-alias rules together, the capitalization runs after adding the title and/or alias to the frontmatter (in incorrectly capitalized form). If the yaml-title is configured to use the first H1 heading then listing must be run a second time to fully complete since the H1 heading will be capitalized and the yaml title will not be.
How to Reproduce
Configure Settings:
# this is a header
If "alias helper key" is not enabled then the final result looks like this:
Attachments
logs
data.json
Expected Behavior
I would expect linting to be completed in one pass and be inert on additional linting runs without additional file changes.
Device
The text was updated successfully, but these errors were encountered: