Skip to content

Commit

Permalink
Whahappens with .mdx extension??
Browse files Browse the repository at this point in the history
  • Loading branch information
gustavohenke committed Dec 30, 2022
1 parent 5fab8d0 commit d2f496e
Show file tree
Hide file tree
Showing 6 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/api-validation-chain.md
Expand Up @@ -238,7 +238,7 @@ You can customize this behavior by passing an object with the following options:
- `options` _(optional)_: an object of options to customize how the chain will be run:
- `dryRun`: defines whether errors and sanitizations won't be persisted to `req`. Defaults to `false`.

> _Returns:_ a promise for a [`Result`](api-validation-result.md#result) that resolves when the validation chain ran.
> _Returns:_ a promise for a [`Result`](api-validation-result.mdx#result) that resolves when the validation chain ran.
Runs the current validation chain in an imperative way.

Expand Down
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion docs/index.md → docs/index.mdx
Expand Up @@ -148,7 +148,7 @@ This completes the basic guide on getting started with express-validator.
You might want to continue reading about some of the more advanced features available:

- [Sanitization](feature-sanitization.md)
- [Custom validators/sanitizers](feature-custom-validators-sanitizers.md)
- [Custom validators/sanitizers](feature-custom-validators-sanitizers.mdx)
- [Custom error messages](feature-error-messages.md)
- [Wildcards](feature-wildcards.md)
- [Schema validation](feature-schema-validation.md)
2 changes: 1 addition & 1 deletion docs/migration-v5-to-v6.md
Expand Up @@ -44,7 +44,7 @@ app.listen(3000, () => {
});
```

For example, we want to make our v5 code to use the [`check`](https://github.com/express-validator/express-validator/blob/master/docs/api-check.md) and [`validationResult`](https://github.com/express-validator/express-validator/blob/master/docs/api-validation-result.md) functions in v6
For example, we want to make our v5 code to use the [`check`](https://github.com/express-validator/express-validator/blob/master/docs/api-check.md) and [`validationResult`](https://github.com/express-validator/express-validator/blob/master/docs/api-validation-result.mdx) functions in v6

1. Change from
`const expressValidator = require('express-validator')` to
Expand Down

0 comments on commit d2f496e

Please sign in to comment.