Skip to content

Commit 3529c93

Browse files
authored
style: remove trailing whitespace (#206)
1 parent 75f5a5e commit 3529c93

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ fastify.register(require('@fastify/redis'), { host: '127.0.0.1' })
3030
fastify.register(require('@fastify/redis'), { url: 'redis://127.0.0.1', /* other redis options */ })
3131

3232
// OR with more options
33-
fastify.register(require('@fastify/redis'), {
34-
host: '127.0.0.1',
33+
fastify.register(require('@fastify/redis'), {
34+
host: '127.0.0.1',
3535
password: '***',
3636
port: 6379, // Redis port
3737
family: 4 // 4 (IPv4) or 6 (IPv6)
@@ -40,7 +40,7 @@ fastify.register(require('@fastify/redis'), {
4040

4141
### Accessing the Redis Client
4242

43-
Once you have registered your plugin, you can access the Redis client via `fastify.redis`.
43+
Once you have registered your plugin, you can access the Redis client via `fastify.redis`.
4444

4545
The client is automatically closed when the fastify instance is closed.
4646

@@ -52,8 +52,8 @@ const fastifyRedis = require('@fastify/redis')
5252

5353
const fastify = Fastify({ logger: true })
5454

55-
fastify.register(fastifyRedis, {
56-
host: '127.0.0.1',
55+
fastify.register(fastifyRedis, {
56+
host: '127.0.0.1',
5757
password: 'your strong password here',
5858
port: 6379, // Redis port
5959
family: 4 // 4 (IPv4) or 6 (IPv6)

types/index.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ declare namespace fastifyRedis {
1414
export interface FastifyRedisNamespacedInstance {
1515
[namespace: string]: Redis;
1616
}
17-
17+
1818
export type FastifyRedis = FastifyRedisNamespacedInstance & Redis;
19-
19+
2020
export type FastifyRedisPluginOptions = (RedisOptions &
2121
{
2222
url?: string;

0 commit comments

Comments
 (0)