Skip to content

fix: merge CLI --exclude patterns with .mdformat.toml exclude#578

Open
SAY-5 wants to merge 3 commits into
hukkin:masterfrom
SAY-5:fix-cli-exclude-merge
Open

fix: merge CLI --exclude patterns with .mdformat.toml exclude#578
SAY-5 wants to merge 3 commits into
hukkin:masterfrom
SAY-5:fix-cli-exclude-merge

Conversation

@SAY-5
Copy link
Copy Markdown

@SAY-5 SAY-5 commented May 13, 2026

CLI --exclude patterns are now additive with the .mdformat.toml exclude list instead of replacing it; TOML patterns stay rooted at the config dir and CLI patterns at the cwd, and a path is skipped if either set matches. Closes #575.

@SAY-5 SAY-5 force-pushed the fix-cli-exclude-merge branch from 1494641 to 56ea876 Compare May 25, 2026 04:47
SAY-5 added 2 commits May 25, 2026 14:55
Signed-off-by: Sai Asish Y <say.apm35@gmail.com>
Signed-off-by: Sai Asish Y <say.apm35@gmail.com>
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.

--exclude CLI flag overwrites .mdformat.toml exclude instead of merging

1 participant