File tree 4 files changed +21
-15
lines changed
4 files changed +21
-15
lines changed Original file line number Diff line number Diff line change 1
1
.DS_Store
2
2
node_modules
3
- /build
4
- /dist
5
- /.svelte-kit
6
- /package
3
+ ** /build
4
+ ** /dist
5
+ ** /.svelte-kit
6
+ ** /package
7
7
.env
8
8
.env. *
9
9
! .env.example
Original file line number Diff line number Diff line change 1
1
{
2
- "useTabs": false,
3
- "singleQuote": false,
4
- "trailingComma": "all",
5
- "printWidth": 100,
6
- "tabWidth": 4,
7
- "plugins": ["prettier-plugin-svelte"],
2
+ "plugins": [
3
+ "@trivago/prettier-plugin-sort-imports",
4
+ "prettier-plugin-svelte"
5
+ ],
8
6
"overrides": [
9
7
{
10
8
"files": "*.svelte",
11
9
"options": {
12
10
"parser": "svelte"
13
11
}
14
12
}
15
- ]
13
+ ],
14
+ "importOrder": ["^[./]"],
15
+ "tabWidth": 4,
16
+ "useTabs": false,
17
+ "trailingComma": "es5",
18
+ "printWidth": 100,
19
+ "singleQuote": false,
20
+ "semi": true
16
21
}
Original file line number Diff line number Diff line change 69
69
"type" : " module" ,
70
70
"dependencies" : {
71
71
"@nostr-dev-kit/ndk" : " ^0.8.7" ,
72
+ "@trivago/prettier-plugin-sort-imports" : " ^4.2.0" ,
72
73
"classnames" : " ^2.3.2" ,
73
74
"hurdak" : " github:ConsignCloud/hurdak" ,
74
75
"isomorphic-dompurify" : " ^1.8.0" ,
Original file line number Diff line number Diff line change 35
35
36
36
{#await user ?.fetchProfile ()}
37
37
<img
38
- alt ="Loading avatar for { npub } "
38
+ alt =" "
39
39
class ="avatar avatar--loading {$$props .class }"
40
40
style ={$$props .style }
41
41
/>
42
42
{:then value }
43
43
<img
44
- src ={user ?.profile ?.image ?? ' https://placehold.co/400/ccc/ccc/webp' }
45
- alt ="Avatar for { npub } "
44
+ src ={user ?.profile ?.image ?? " https://placehold.co/400/ccc/ccc/webp" }
45
+ alt =" "
46
46
class ="avatar avatar--image {$$props .class }"
47
47
style ={$$props .style }
48
48
/>
49
49
{:catch error }
50
50
<img
51
- alt ="Error loading avatar for { npub } "
51
+ alt =" "
52
52
class ="avatar avatar--error {$$props .class }"
53
53
style ={$$props .style }
54
54
/>
You can’t perform that action at this time.
0 commit comments