Skip to content

Commit

Permalink
4 space indents
Browse files Browse the repository at this point in the history
  • Loading branch information
LiamGallagher737 committed Oct 12, 2024
1 parent b5fb119 commit e30ea58
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 18 deletions.
3 changes: 2 additions & 1 deletion www/deno.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{
"fmt": {
"include": ["src/"],
"exclude": ["src/**/$types.d.ts"]
"exclude": ["src/**/$types.d.ts"],
"indentWidth": 4
}
"unstable": ["fmt-component"]
}
14 changes: 7 additions & 7 deletions www/src/app.d.ts
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
// See https://kit.svelte.dev/docs/types#app
// for information about these interfaces
declare global {
namespace App {
// interface Error {}
// interface Locals {}
// interface PageData {}
// interface PageState {}
// interface Platform {}
}
namespace App {
// interface Error {}
// interface Locals {}
// interface PageData {}
// interface PageState {}
// interface Platform {}
}
}

export {};
18 changes: 9 additions & 9 deletions www/src/app.html
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<link rel="icon" href="%sveltekit.assets%/favicon.png" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
%sveltekit.head%
</head>
<body data-sveltekit-preload-data="hover">
<div style="display: contents">%sveltekit.body%</div>
</body>
<head>
<meta charset="utf-8" />
<link rel="icon" href="%sveltekit.assets%/favicon.png" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
%sveltekit.head%
</head>
<body data-sveltekit-preload-data="hover">
<div style="display: contents">%sveltekit.body%</div>
</body>
</html>
2 changes: 1 addition & 1 deletion www/src/routes/+page.svelte
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<script>
let counter = $state(0);
let counter = $state(0);
</script>

<h1>{counter}</h1>
Expand Down

0 comments on commit e30ea58

Please sign in to comment.