Skip to content

Commit f2984e4

Browse files
Convert tabs to spaces
The commit message summarizes the change of replacing all tabs with spaces in JSON, HTML, SCSS, and other files throughout the codebase: ``` Convert tabs to spaces for consistent indentation ```
1 parent 42e9ea6 commit f2984e4

32 files changed

+2709
-2400
lines changed

apps/docs/jsconfig.json

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
{
2-
"extends": "./.svelte-kit/tsconfig.json",
3-
"compilerOptions": {
4-
"allowJs": true,
5-
"checkJs": true,
6-
"esModuleInterop": true,
7-
"forceConsistentCasingInFileNames": true,
8-
"resolveJsonModule": true,
9-
"skipLibCheck": true,
10-
"sourceMap": true,
11-
"strict": true,
12-
"moduleResolution": "bundler"
13-
}
2+
"extends": "./.svelte-kit/tsconfig.json",
3+
"compilerOptions": {
4+
"allowJs": true,
5+
"checkJs": true,
6+
"esModuleInterop": true,
7+
"forceConsistentCasingInFileNames": true,
8+
"resolveJsonModule": true,
9+
"skipLibCheck": true,
10+
"sourceMap": true,
11+
"strict": true,
12+
"moduleResolution": "bundler"
13+
}
1414
}

apps/docs/package.json

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,23 @@
11
{
2-
"name": "docs",
3-
"version": "0.0.1",
4-
"private": true,
5-
"scripts": {
6-
"dev": "vite dev",
7-
"build": "vite build",
8-
"preview": "vite preview",
9-
"check": "svelte-kit sync && svelte-check --tsconfig ./jsconfig.json",
10-
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./jsconfig.json --watch"
11-
},
12-
"devDependencies": {
13-
"@dittmann/ui": "workspace:",
14-
"@sveltejs/adapter-static": "^3.0.3",
15-
"@sveltejs/kit": "^2.0.0",
16-
"@sveltejs/vite-plugin-svelte": "^3.0.0",
17-
"svelte": "^4.2.7",
18-
"svelte-check": "^3.6.0",
19-
"typescript": "^5.0.0",
20-
"vite": "^5.0.3"
21-
},
22-
"type": "module"
2+
"name": "docs",
3+
"version": "0.0.1",
4+
"private": true,
5+
"scripts": {
6+
"dev": "vite dev",
7+
"build": "vite build",
8+
"preview": "vite preview",
9+
"check": "svelte-kit sync && svelte-check --tsconfig ./jsconfig.json",
10+
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./jsconfig.json --watch"
11+
},
12+
"devDependencies": {
13+
"@dittmann/ui": "workspace:",
14+
"@sveltejs/adapter-static": "^3.0.3",
15+
"@sveltejs/kit": "^2.0.0",
16+
"@sveltejs/vite-plugin-svelte": "^3.0.0",
17+
"svelte": "^4.2.7",
18+
"svelte-check": "^3.6.0",
19+
"typescript": "^5.0.0",
20+
"vite": "^5.0.3"
21+
},
22+
"type": "module"
2323
}

apps/docs/src/app.d.ts

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
// See https://kit.svelte.dev/docs/types#app
22
// for information about these interfaces
33
declare global {
4-
namespace App {
5-
// interface Error {}
6-
// interface Locals {}
7-
// interface PageData {}
8-
// interface PageState {}
9-
// interface Platform {}
10-
}
4+
namespace App {
5+
// interface Error {}
6+
// interface Locals {}
7+
// interface PageData {}
8+
// interface PageState {}
9+
// interface Platform {}
10+
}
1111
}
1212

1313
export {};

apps/docs/src/app.html

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
<!DOCTYPE html>
22
<html lang="en">
3-
<head>
4-
<meta charset="utf-8" />
5-
<link rel="icon" href="%sveltekit.assets%/favicon.png" />
6-
<meta name="viewport" content="width=device-width, initial-scale=1" />
7-
%sveltekit.head%
8-
</head>
9-
<body data-sveltekit-preload-data="hover" class="website">
10-
<div style="display: contents">%sveltekit.body%</div>
11-
</body>
3+
<head>
4+
<meta charset="utf-8" />
5+
<link rel="icon" href="%sveltekit.assets%/favicon.png" />
6+
<meta name="viewport" content="width=device-width, initial-scale=1" />
7+
%sveltekit.head%
8+
</head>
9+
<body data-sveltekit-preload-data="hover" class="website">
10+
<div style="display: contents">%sveltekit.body%</div>
11+
</body>
1212
</html>
Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
<header>
2-
<nav>
3-
<a href="/">MVP UI</a>
4-
<menu>
5-
<li><a href="/">Docs</a></li>
6-
<li><input type="search" placeholder="Search" /></li>
7-
</menu>
8-
</nav>
2+
<nav>
3+
<a href="/">MVP UI</a>
4+
<menu>
5+
<li><a href="/">Docs</a></li>
6+
<li><input type="search" placeholder="Search" /></li>
7+
</menu>
8+
</nav>
99
</header>
1010
<main><slot /></main>
1111
<footer></footer>

apps/docs/src/routes/+page.svelte

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<h1>Minimal CSS Framework for Semantic HTML</h1>
22
<p>
3-
A minimalist and lightweight starter kit that prioritizes semantic syntax,
4-
making every HTML element responsive and elegant by default.
3+
A minimalist and lightweight starter kit that prioritizes semantic syntax,
4+
making every HTML element responsive and elegant by default.
55
</p>
66
<p>Write HTML, Add Pico CSS, and Voilà!</p>

apps/docs/svelte.config.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@ import adapter from "@sveltejs/adapter-static";
22

33
/** @type {import('@sveltejs/kit').Config} */
44
const config = {
5-
kit: {
6-
// adapter-auto only supports some environments, see https://kit.svelte.dev/docs/adapter-auto for a list.
7-
// If your environment is not supported, or you settled on a specific environment, switch out the adapter.
8-
// See https://kit.svelte.dev/docs/adapters for more information about adapters.
9-
adapter: adapter(),
10-
},
5+
kit: {
6+
// adapter-auto only supports some environments, see https://kit.svelte.dev/docs/adapter-auto for a list.
7+
// If your environment is not supported, or you settled on a specific environment, switch out the adapter.
8+
// See https://kit.svelte.dev/docs/adapters for more information about adapters.
9+
adapter: adapter(),
10+
},
1111
};
1212

1313
export default config;

apps/docs/vite.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@ import { sveltekit } from "@sveltejs/kit/vite";
22
import { defineConfig } from "vite";
33

44
export default defineConfig({
5-
plugins: [sveltekit()],
5+
plugins: [sveltekit()],
66
});

0 commit comments

Comments
 (0)