Skip to content

Commit fd6eb9b

Browse files
authored
chore: setup prettier for kit.svelte.dev (#10853)
1 parent 5a4dbe3 commit fd6eb9b

File tree

6 files changed

+82
-87
lines changed

6 files changed

+82
-87
lines changed

sites/kit.svelte.dev/.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
.env
33
/.svelte-kit/
44
/.snippets
5+
/.vercel/
56
/build/
67
/functions/
7-
/src/lib/generated/type-info.js
8+
/src/lib/generated/type-info.js
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
src/routes/edge.svg/land-110m.json

sites/kit.svelte.dev/package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
"private": true,
44
"version": "0.0.1",
55
"scripts": {
6+
"lint": "prettier --check . --config ../../.prettierrc --ignore-path .gitignore --ignore-path .prettierignore",
7+
"format": "prettier --write . --config ../../.prettierrc --ignore-path .gitignore --ignore-path .prettierignore",
68
"update": "node scripts/types",
79
"dev": "pnpm run update && vite dev",
810
"build": "pnpm run update && vite build",

sites/kit.svelte.dev/src/app.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!DOCTYPE html>
1+
<!doctype html>
22
<html lang="en" class="no-js">
33
<head>
44
<meta charset="utf-8" />

sites/kit.svelte.dev/src/globals.d.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,32 +22,32 @@ declare module '*.svelte' {
2222
<img src="{successkid}">
2323
```
2424
*/
25-
declare module "*.gif" {
25+
declare module '*.gif' {
2626
const value: string;
2727
export = value;
2828
}
2929

30-
declare module "*.jpg" {
30+
declare module '*.jpg' {
3131
const value: string;
3232
export = value;
3333
}
3434

35-
declare module "*.jpeg" {
35+
declare module '*.jpeg' {
3636
const value: string;
3737
export = value;
3838
}
3939

40-
declare module "*.png" {
40+
declare module '*.png' {
4141
const value: string;
4242
export = value;
4343
}
4444

45-
declare module "*.svg" {
45+
declare module '*.svg' {
4646
const value: string;
4747
export = value;
4848
}
4949

50-
declare module "*.webp" {
50+
declare module '*.webp' {
5151
const value: string;
5252
export = value;
5353
}

sites/kit.svelte.dev/src/routes/schema.json

Lines changed: 70 additions & 79 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,9 @@
66
"url": "https://kit.svelte.dev/",
77
"codeRepository": "https://github.com/sveltejs/kit",
88
"dateCreated": "2020-10-15T16:00:00",
9-
"programmingLanguage": [
10-
"JavaScript",
11-
"TypeScript"
12-
],
9+
"programmingLanguage": ["JavaScript", "TypeScript"],
1310
"image": "https://raw.githubusercontent.com/sveltejs/branding/master/svelte-logo.svg",
14-
"sameAs": [
15-
"https://github.com/sveltejs/kit",
16-
"https://www.npmjs.com/package/@sveltejs/kit"
17-
],
11+
"sameAs": ["https://github.com/sveltejs/kit", "https://www.npmjs.com/package/@sveltejs/kit"],
1812
"license": "https://github.com/sveltejs/kit/blob/master/LICENSE",
1913
"releasedEvent": {
2014
"@type": "PublicationEvent",
@@ -24,75 +18,72 @@
2418
"https://www.youtube.com/watch?v=N4BRVkQVoMc"
2519
]
2620
},
27-
"contributor": [{
28-
"@type": "Person",
29-
"name": "Rich Harris",
30-
"url": "https://www.rich-harris.co.uk",
31-
"image": "https://avatars.githubusercontent.com/u/1162160",
32-
"sameAs": [
33-
"https://github.com/Rich-Harris",
34-
"https://twitter.com/Rich_Harris"
35-
]
36-
}, {
37-
"@type": "Person",
38-
"name": "Ben McCann",
39-
"url": "https://www.benmccann.com",
40-
"image": "https://avatars.githubusercontent.com/u/322311",
41-
"sameAs": [
42-
"https://github.com/benmccann",
43-
"https://twitter.com/benjaminmccann",
44-
"https://about.me/benmccann",
45-
"https://angel.co/ben-mccann",
46-
"https://www.crunchbase.com/person/benjamin-mccann",
47-
"https://www.linkedin.com/in/benmccann"
48-
]
49-
}, {
50-
"@type": "Person",
51-
"name": "Simon Holthausen",
52-
"image": "https://avatars.githubusercontent.com/u/5968653",
53-
"sameAs": [
54-
"https://github.com/dummdidumm",
55-
"https://twitter.com/dummdidumm_"
56-
]
57-
}, {
58-
"@type": "Person",
59-
"name": "Ignatius Bagus",
60-
"url": "https://mauss.dev/",
61-
"image": "https://avatars.githubusercontent.com/u/8156777",
62-
"sameAs": [
63-
"https://twitter.com/alchemauss",
64-
"https://github.com/ignatiusmb",
65-
"https://gitlab.com/ignatiusmb",
66-
"https://www.linkedin.com/in/ignatiusmb"
67-
]
68-
}, {
69-
"@type": "Person",
70-
"name": "Conduitry",
71-
"url": "https://conduitry.dev/",
72-
"image": "https://avatars.githubusercontent.com/u/16696352",
73-
"sameAs": [
74-
"https://github.com/Conduitry"
75-
]
76-
}, {
77-
"@type": "Person",
78-
"name": "Dominik Göpel",
79-
"url": "https://goepel.it/",
80-
"image": "https://avatars.githubusercontent.com/u/611613",
81-
"sameAs": [
82-
"https://github.com/dominikg",
83-
"https://m.webtoo.ls/@dominikg"
84-
]
85-
}, {
86-
"@type": "Person",
87-
"name": "Bjorn Lu",
88-
"url": "https://bjornlu.com/",
89-
"image": "https://avatars.githubusercontent.com/u/34116392",
90-
"sameAs": [
91-
"https://github.com/bluwy",
92-
"https://twitter.com/bluwyoo",
93-
"https://m.webtoo.ls/@bluwy",
94-
"https://www.linkedin.com/in/bjorn-lu-3302a31b5",
95-
"https://www.reddit.com/user/IamLUG"
96-
]
97-
}]
21+
"contributor": [
22+
{
23+
"@type": "Person",
24+
"name": "Rich Harris",
25+
"url": "https://www.rich-harris.co.uk",
26+
"image": "https://avatars.githubusercontent.com/u/1162160",
27+
"sameAs": ["https://github.com/Rich-Harris", "https://twitter.com/Rich_Harris"]
28+
},
29+
{
30+
"@type": "Person",
31+
"name": "Ben McCann",
32+
"url": "https://www.benmccann.com",
33+
"image": "https://avatars.githubusercontent.com/u/322311",
34+
"sameAs": [
35+
"https://github.com/benmccann",
36+
"https://twitter.com/benjaminmccann",
37+
"https://about.me/benmccann",
38+
"https://angel.co/ben-mccann",
39+
"https://www.crunchbase.com/person/benjamin-mccann",
40+
"https://www.linkedin.com/in/benmccann"
41+
]
42+
},
43+
{
44+
"@type": "Person",
45+
"name": "Simon Holthausen",
46+
"image": "https://avatars.githubusercontent.com/u/5968653",
47+
"sameAs": ["https://github.com/dummdidumm", "https://twitter.com/dummdidumm_"]
48+
},
49+
{
50+
"@type": "Person",
51+
"name": "Ignatius Bagus",
52+
"url": "https://mauss.dev/",
53+
"image": "https://avatars.githubusercontent.com/u/8156777",
54+
"sameAs": [
55+
"https://twitter.com/alchemauss",
56+
"https://github.com/ignatiusmb",
57+
"https://gitlab.com/ignatiusmb",
58+
"https://www.linkedin.com/in/ignatiusmb"
59+
]
60+
},
61+
{
62+
"@type": "Person",
63+
"name": "Conduitry",
64+
"url": "https://conduitry.dev/",
65+
"image": "https://avatars.githubusercontent.com/u/16696352",
66+
"sameAs": ["https://github.com/Conduitry"]
67+
},
68+
{
69+
"@type": "Person",
70+
"name": "Dominik Göpel",
71+
"url": "https://goepel.it/",
72+
"image": "https://avatars.githubusercontent.com/u/611613",
73+
"sameAs": ["https://github.com/dominikg", "https://m.webtoo.ls/@dominikg"]
74+
},
75+
{
76+
"@type": "Person",
77+
"name": "Bjorn Lu",
78+
"url": "https://bjornlu.com/",
79+
"image": "https://avatars.githubusercontent.com/u/34116392",
80+
"sameAs": [
81+
"https://github.com/bluwy",
82+
"https://twitter.com/bluwyoo",
83+
"https://m.webtoo.ls/@bluwy",
84+
"https://www.linkedin.com/in/bjorn-lu-3302a31b5",
85+
"https://www.reddit.com/user/IamLUG"
86+
]
87+
}
88+
]
9889
}

0 commit comments

Comments
 (0)