Skip to content

Commit cf8497c

Browse files
authored
feat: add rule for sanity.config.* (#225)
1 parent 9de9ecd commit cf8497c

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

update.mjs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -406,6 +406,12 @@ const razor = [
406406
'$(capture).razor.cs',
407407
]
408408

409+
const sanity = [
410+
'sanity.cli.*',
411+
'sanity.types.ts',
412+
'schema.json',
413+
]
414+
409415
// @keep-sorted
410416
const base = {
411417
'.clang-tidy': '.clang-format, .clangd, compile_commands.json',
@@ -528,6 +534,7 @@ const full = sortObject({
528534
'deno.json*': stringify(denoRuntime),
529535
'*.db': stringify(sqlite),
530536
'*.razor': stringify(razor),
537+
'sanity.config.*': stringify(sanity),
531538
...Object.fromEntries(Object.entries(frameworks).map(([n, i]) => [n, stringify([...i, ...libraries])])),
532539
...svelteKitRouting,
533540
}, (a, b) => {

0 commit comments

Comments
 (0)