Skip to content

Commit a0c1a41

Browse files
committed
code should be 2-space-indented
1 parent 930b95b commit a0c1a41

File tree

7 files changed

+28
-28
lines changed

7 files changed

+28
-28
lines changed

docs/docs/api/blitz.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ title: Blitz.js
99
import { Queue } from "quirrel/blitz";
1010

1111
export default Queue(
12-
"api/someQueue",
13-
async (job, meta) => {
14-
// do something
15-
}
12+
"api/someQueue",
13+
async (job, meta) => {
14+
// do something
15+
}
1616
);
1717
```
1818

@@ -23,9 +23,9 @@ Make sure to export it from an [API Route](https://blitzjs.com/docs/api-routes),
2323

2424
```ts
2525
function Queue<T>(
26-
path: string,
27-
worker: (job: T, meta: JobMeta): Promise<void>,
28-
defaultJobOptions?: { exclusive?: boolean }
26+
path: string,
27+
worker: (job: T, meta: JobMeta): Promise<void>,
28+
defaultJobOptions?: { exclusive?: boolean }
2929
): QueueInstance<T>
3030
```
3131

docs/docs/api/express.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@ Since there's no convention for Express's default development port, you'll have
2727

2828
```ts
2929
function Queue<T>(
30-
path: string,
31-
worker: (job: T, meta: JobMeta): Promise<void>,
32-
defaultJobOptions?: { exclusive?: boolean }
30+
path: string,
31+
worker: (job: T, meta: JobMeta): Promise<void>,
32+
defaultJobOptions?: { exclusive?: boolean }
3333
): QueueInstance<T>
3434
```
3535

docs/docs/api/next.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ title: Next.js
66
import { Queue } from "quirrel/next";
77

88
export default Queue(
9-
"api/someQueue",
10-
async (job, meta) => {
11-
// do something
12-
}
9+
"api/someQueue",
10+
async (job, meta) => {
11+
// do something
12+
}
1313
);
1414
```
1515

@@ -20,9 +20,9 @@ Make sure to export it from an [API Route](https://nextjs.org/docs/api-routes/in
2020

2121
```ts
2222
function Queue<T>(
23-
path: string,
24-
worker: (job: T, meta: JobMeta): Promise<void>,
25-
defaultJobOptions?: { exclusive?: boolean }
23+
path: string,
24+
worker: (job: T, meta: JobMeta): Promise<void>,
25+
defaultJobOptions?: { exclusive?: boolean }
2626
): QueueInstance<T>
2727
```
2828

docs/docs/api/nuxt.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,9 @@ Make sure to export it from a [Server Middleware](https://nuxtjs.org/docs/2.x/co
2929

3030
```ts
3131
function Queue<T>(
32-
path: string,
33-
worker: (job: T, meta: JobMeta): Promise<void>,
34-
defaultJobOptions?: { exclusive?: boolean }
32+
path: string,
33+
worker: (job: T, meta: JobMeta): Promise<void>,
34+
defaultJobOptions?: { exclusive?: boolean }
3535
): QueueInstance<T>
3636
```
3737

docs/docs/api/redwood.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@ Make sure to export it from a [Serverless Function](https://redwoodjs.com/docs/s
2222

2323
```ts
2424
function Queue<T>(
25-
path: string,
26-
worker: (job: T, meta: JobMeta): Promise<void>,
27-
defaultJobOptions?: { exclusive?: boolean }
25+
path: string,
26+
worker: (job: T, meta: JobMeta): Promise<void>,
27+
defaultJobOptions?: { exclusive?: boolean }
2828
): QueueInstance<T>
2929
```
3030

docs/docs/api/vercel.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ Make sure to export it from a [Serverless Function](https://vercel.com/docs/serv
2020

2121
```ts
2222
function Queue<T>(
23-
path: string,
24-
worker: (job: T, meta: JobMeta): Promise<void>,
25-
defaultJobOptions?: { exclusive?: boolean }
23+
path: string,
24+
worker: (job: T, meta: JobMeta): Promise<void>,
25+
defaultJobOptions?: { exclusive?: boolean }
2626
): QueueInstance<T>
2727
```
2828

docs/docs/faq.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ You can use something like [`concurrently`](https://github.com/kimmobrunfeldt/co
2020

2121
```json
2222
"scripts": {
23-
"dev": "concurrently --raw \"quirrel\" \"next dev\"",
24-
...
23+
"dev": "concurrently --raw \"quirrel\" \"next dev\"",
24+
...
2525
}
2626
```
2727

0 commit comments

Comments
 (0)