Skip to content
This repository has been archived by the owner on Jan 31, 2020. It is now read-only.

Commit

Permalink
docs: adds documentation for new allowNonExistentFile option
Browse files Browse the repository at this point in the history
  • Loading branch information
weierophinney committed Dec 28, 2019
1 parent f27a0c3 commit 5f339ff
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/book/validators/file/extension.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ The following set of options are supported:
against which to test.
- `case`: Boolean indicating whether or not extensions should match case
sensitively; defaults to `false` (case-insensitive).
- `allowNonExistentFile`: (**Since 2.13.0**) Boolean indicating whether or not
to allow validating a filename for a non-existent file. Defaults to `false`
(will not validate non-existent files).

## Usage Examples

Expand Down

0 comments on commit 5f339ff

Please sign in to comment.