Skip to content

Commit e9abab3

Browse files
chore(prettier): 🤖 ✨ (#174)
Co-authored-by: squiggler[bot] <128108030+squiggler[bot]@users.noreply.github.com>
1 parent 3763470 commit e9abab3

File tree

4 files changed

+309
-887
lines changed

4 files changed

+309
-887
lines changed

‎frontend/eslint.config.mjs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { defineConfig, globalIgnores } from 'eslint/config'
1+
import {defineConfig, globalIgnores} from 'eslint/config'
22
import nextVitals from 'eslint-config-next/core-web-vitals'
33
import nextTs from 'eslint-config-next/typescript'
44

‎frontend/sanity/lib/utils.ts‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,11 @@ function urlForImage(source: SanityImageSource) {
1616
return builder.image(source)
1717
}
1818

19-
export function resolveOpenGraphImage(image?: SanityImageSource | null, width = 1200, height = 627) {
19+
export function resolveOpenGraphImage(
20+
image?: SanityImageSource | null,
21+
width = 1200,
22+
height = 627,
23+
) {
2024
if (!image) return
2125
const url = urlForImage(image)?.width(1200).height(627).fit('crop').url()
2226
if (!url) return

‎frontend/tsconfig.json‎

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,7 @@
11
{
22
"compilerOptions": {
33
"target": "esnext",
4-
"lib": [
5-
"dom",
6-
"dom.iterable",
7-
"esnext"
8-
],
4+
"lib": ["dom", "dom.iterable", "esnext"],
95
"allowJs": true,
106
"skipLibCheck": true,
117
"strict": true,
@@ -21,9 +17,7 @@
2117
}
2218
],
2319
"paths": {
24-
"@/*": [
25-
"./*"
26-
]
20+
"@/*": ["./*"]
2721
}
2822
},
2923
"include": [
@@ -33,7 +27,5 @@
3327
".next/types/**/*.ts",
3428
".next/dev/types/**/*.ts"
3529
],
36-
"exclude": [
37-
"node_modules"
38-
]
30+
"exclude": ["node_modules"]
3931
}

0 commit comments

Comments
 (0)