Skip to content

Commit c5558b0

Browse files
authored
style: remove trailing whitespace (#236)
1 parent cca2e83 commit c5558b0

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
[![NPM version](https://img.shields.io/npm/v/@fastify/auth.svg?style=flat)](https://www.npmjs.com/package/@fastify/auth)
55
[![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat)](https://standardjs.com/)
66

7-
This module does not provide an authentication strategy, but it provides a very fast utility to handle authentication (and multiple strategies) in your routes, without adding overhead.
7+
This module does not provide an authentication strategy, but it provides a very fast utility to handle authentication (and multiple strategies) in your routes, without adding overhead.
88
Check out a complete example [here](test/example.js).
99

1010
## Install
@@ -111,10 +111,10 @@ fastify
111111
If the `relation` (`defaultRelation`) parameter is `and`, then the relation inside sub-arrays will be `or`.
112112
If the `relation` (`defaultRelation`) parameter is `or`, then the relation inside sub-arrays will be `and`.
113113

114-
| auth code | resulting logical expression |
115-
| ------------- |:-------------:|
116-
| `fastify.auth([f1, f2, [f3, f4]], { relation: 'or' })` | `f1 OR f2 OR (f3 AND f4)` |
117-
| `fastify.auth([f1, f2, [f3, f4]], { relation: 'and' })` | `f1 AND f2 AND (f3 OR f4)` |
114+
| auth code | resulting logical expression |
115+
| ------------- |:-------------:|
116+
| `fastify.auth([f1, f2, [f3, f4]], { relation: 'or' })` | `f1 OR f2 OR (f3 AND f4)` |
117+
| `fastify.auth([f1, f2, [f3, f4]], { relation: 'and' })` | `f1 AND f2 AND (f3 OR f4)` |
118118

119119

120120
You can use the `defaultRelation` option while registering the plugin, to change the default `relation`:

0 commit comments

Comments
 (0)