File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2020 "@testing-library/jest-dom" : " ^7.0.0" ,
2121 "@testing-library/svelte" : " ^5.4.2" ,
2222 "happy-dom" : " ^20.11.1" ,
23+ "prettier-plugin-svelte" : " ^4.1.1" ,
2324 "rstack" : " ^0.3.5"
2425 }
2526}
Original file line number Diff line number Diff line change @@ -19,3 +19,7 @@ define.lint(async () => {
1919
2020 return [ js . configs . recommended ] ;
2121} ) ;
22+
23+ define . fmt ( {
24+ plugins : [ 'prettier-plugin-svelte' ] ,
25+ } ) ;
Original file line number Diff line number Diff line change 66</main >
77
88<style >
9- .content {
10- display : flex ;
11- min-height : 100vh ;
12- line-height : 1.1 ;
13- text-align : center ;
14- flex-direction : column ;
15- justify-content : center ;
16- }
9+ .content {
10+ display : flex ;
11+ min-height : 100vh ;
12+ line-height : 1.1 ;
13+ text-align : center ;
14+ flex-direction : column ;
15+ justify-content : center ;
16+ }
1717
18- .content h1 {
19- font-size : 3.6rem ;
20- font-weight : 700 ;
21- }
18+ .content h1 {
19+ font-size : 3.6rem ;
20+ font-weight : 700 ;
21+ }
2222
23- .content p {
24- font-size : 1.2rem ;
25- font-weight : 400 ;
26- opacity : 0.5 ;
27- }
23+ .content p {
24+ font-size : 1.2rem ;
25+ font-weight : 400 ;
26+ opacity : 0.5 ;
27+ }
2828 </style >
Original file line number Diff line number Diff line change 2121 "@testing-library/svelte" : " ^5.4.2" ,
2222 "@types/node" : " ^24.13.3" ,
2323 "happy-dom" : " ^20.11.1" ,
24+ "prettier-plugin-svelte" : " ^4.1.1" ,
2425 "rstack" : " ^0.3.5" ,
2526 "svelte-check" : " ^4.7.4" ,
2627 "typescript" : " ^6.0.3"
Original file line number Diff line number Diff line change @@ -18,3 +18,7 @@ define.lint(async () => {
1818
1919 return [ js . configs . recommended , ts . configs . recommended ] ;
2020} ) ;
21+
22+ define . fmt ( {
23+ plugins : [ 'prettier-plugin-svelte' ] ,
24+ } ) ;
Original file line number Diff line number Diff line change 1515</main >
1616
1717<style >
18- .content {
19- display : flex ;
20- min-height : 100vh ;
21- line-height : 1.1 ;
22- text-align : center ;
23- flex-direction : column ;
24- justify-content : center ;
25- }
18+ .content {
19+ display : flex ;
20+ min-height : 100vh ;
21+ line-height : 1.1 ;
22+ text-align : center ;
23+ flex-direction : column ;
24+ justify-content : center ;
25+ }
2626
27- .content h1 {
28- font-size : 3.6rem ;
29- font-weight : 700 ;
30- }
27+ .content h1 {
28+ font-size : 3.6rem ;
29+ font-weight : 700 ;
30+ }
3131
32- .content p {
33- font-size : 1.2rem ;
34- font-weight : 400 ;
35- opacity : 0.5 ;
36- }
32+ .content p {
33+ font-size : 1.2rem ;
34+ font-weight : 400 ;
35+ opacity : 0.5 ;
36+ }
3737 </style >
You can’t perform that action at this time.
0 commit comments