Skip to content

feat(config): validate every option with shared helpers#207

Merged
dlyongemallo merged 1 commit into
mainfrom
validate_config
May 29, 2026
Merged

feat(config): validate every option with shared helpers#207
dlyongemallo merged 1 commit into
mainfrom
validate_config

Conversation

@dlyongemallo
Copy link
Copy Markdown
Owner

Adds validate helpers and routes every option in M.defaults through them. Bad values warn and fall back to defaults. Booleans coerce common alt-spellings to preserve configs that previously relied on Lua truthiness. List validators filter invalid elements rather than dropping the whole list.

Adds `validate` helpers and routes every option in `M.defaults` through them.
Bad values warn and fall back to defaults. Booleans coerce common alt-spellings
to preserve configs that previously relied on Lua truthiness. List validators
filter invalid elements rather than dropping the whole list.
@dlyongemallo dlyongemallo merged commit bccf829 into main May 29, 2026
7 checks passed
@dlyongemallo dlyongemallo deleted the validate_config branch May 29, 2026 13:10
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.

1 participant