Skip to content

Commit

Permalink
feat: add rule for sanity.config.* (#225)
Browse files Browse the repository at this point in the history
  • Loading branch information
PikiLee authored Aug 3, 2024
1 parent 9de9ecd commit cf8497c
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions update.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -406,6 +406,12 @@ const razor = [
'$(capture).razor.cs',
]

const sanity = [
'sanity.cli.*',
'sanity.types.ts',
'schema.json',
]

// @keep-sorted
const base = {
'.clang-tidy': '.clang-format, .clangd, compile_commands.json',
Expand Down Expand Up @@ -528,6 +534,7 @@ const full = sortObject({
'deno.json*': stringify(denoRuntime),
'*.db': stringify(sqlite),
'*.razor': stringify(razor),
'sanity.config.*': stringify(sanity),
...Object.fromEntries(Object.entries(frameworks).map(([n, i]) => [n, stringify([...i, ...libraries])])),
...svelteKitRouting,
}, (a, b) => {
Expand Down

0 comments on commit cf8497c

Please sign in to comment.