Skip to content

Commit 623868f

Browse files
committed
chore: re-format
1 parent 0d71248 commit 623868f

1 file changed

Lines changed: 10 additions & 3 deletions

File tree

src/tools/lighthouse.ts

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,11 +46,18 @@ export const lighthouseAudit = definePageTool({
4646
categories: zod
4747
.array(zod.string())
4848
.optional()
49-
.describe('Categories to run. If omitted, defaults to accessibility, seo, best-practices, and agentic browsing.'),
49+
.describe(
50+
'Categories to run. If omitted, defaults to accessibility, seo, best-practices, and agentic browsing.',
51+
),
5052
},
5153
handler: async (request, response, context) => {
5254
const page = request.page;
53-
const defaultCategories = ['accessibility', 'seo', 'best-practices', 'agentic-browsing'];
55+
const defaultCategories = [
56+
'accessibility',
57+
'seo',
58+
'best-practices',
59+
'agentic-browsing',
60+
];
5461
const formats = ['json', 'html'] as OutputMode[];
5562
const {
5663
mode = 'navigation',
@@ -86,7 +93,7 @@ export const lighthouseAudit = definePageTool({
8693
};
8794
}
8895

89-
const options: {flags: Flags; config?: object} = { flags };
96+
const options: {flags: Flags; config?: object} = {flags};
9097
if (requestedCategories.includes('agentic-browsing')) {
9198
options.config = agenticBrowsingConfig;
9299
}

0 commit comments

Comments
 (0)