Skip to content

docs: clarify excludeEmptyString validation - #2348

Open
Hugohong258 wants to merge 1 commit into
jquense:masterfrom
Hugohong258:docs-exclude-empty-string
Open

Hugohong258 wants to merge 1 commit into
jquense:masterfrom
Hugohong258:docs-exclude-empty-string

Conversation

@Hugohong258

Copy link
Copy Markdown

The excludeEmptyString description can be read as rejecting empty strings, although the option skips the regex test and lets them pass. Clarify that behavior and that other validations, including required(), still apply.

Closes #2110.

Validation: five checks against a bundle of the current source, including the existing empty-string example, matching/nonmatching values and required(). Prettier 2.8.8 and git diff --check pass. The full test suite was not run for this README change.

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.

Documentation is unclear for excludeEmptyString option

1 participant