chore: use space instead of tab for formatting

This commit is contained in:
Henrique Ramos 2025-02-26 21:05:19 -03:00
parent 1c281f220d
commit 8f90133e1e
15 changed files with 278 additions and 267 deletions

View File

@ -1,5 +1,4 @@
{
"recommendations": ["astro-build.astro-vscode"],
""
"unwantedRecommendations": []
}

View File

@ -1,9 +1,9 @@
// @ts-check
import { defineConfig } from 'astro/config';
import { defineConfig } from "astro/config";
import svelte from '@astrojs/svelte';
import svelte from "@astrojs/svelte";
// https://astro.build/config
export default defineConfig({
integrations: [svelte()]
integrations: [svelte()],
});

View File

@ -11,7 +11,7 @@
},
"formatter": {
"enabled": true,
"indentStyle": "tab"
"indentStyle": "space"
},
"organizeImports": {
"enabled": true

View File

@ -1,8 +1,10 @@
---
export const title = "Finite State Machines with XState for Game Development using Three.js"
export const authors = ["Henrique Ramos"]
export const publishedAt = "2024-12-13"
export const description = "Using XState Finite State Machines to coordinate character actions in a Three.js game"
export const title =
"Finite State Machines with XState for Game Development using Three.js";
export const authors = ["Henrique Ramos"];
export const publishedAt = "2024-12-13";
export const description =
"Using XState Finite State Machines to coordinate character actions in a Three.js game";
---
<section>

View File

@ -1,12 +1,17 @@
@import "./variables";
@import url("https://fonts.googleapis.com/css2?family=Anaheim:wght@400..800&family=Overpass+Mono:wght@300..700&display=swap");
body {
background: var(--background);
}
section.has-dark-background, h1, h2, h3, h4, h5, h6 {
section.has-dark-background,
h1,
h2,
h3,
h4,
h5,
h6 {
color: var(--main-color);
}
@ -211,11 +216,11 @@ section.has-dark-background, h1, h2, h3, h4, h5, h6 {
border-bottom: 1px solid;
}
.reveal table :is(th[align='center'], td[align='center']) {
.reveal table :is(th[align="center"], td[align="center"]) {
text-align: center;
}
.reveal table :is(th[align='right'], td[align='right']) {
.reveal table :is(th[align="right"], td[align="right"]) {
text-align: right;
}

View File

@ -2,7 +2,12 @@ import type { AstroInstance } from "astro";
import getAstroPages from "./getAstroPages";
import { type } from "arktype";
const schema = type({ title: "string", description: "string", authors: "string[]", publishedAt: "string" });
const schema = type({
title: "string",
description: "string",
authors: "string[]",
publishedAt: "string",
});
type Slide = AstroInstance & typeof schema.infer & { [key: string]: unknown };

View File

@ -1,5 +1,5 @@
import { vitePreprocess } from '@astrojs/svelte';
import { vitePreprocess } from "@astrojs/svelte";
export default {
preprocess: vitePreprocess(),
}
};