From b5c3e41defa37f043a926ac7fe088b620fe2c8de Mon Sep 17 00:00:00 2001 From: Fishandchips321 Date: Fri, 20 Feb 2026 21:56:23 +0000 Subject: [PATCH] fix(formatter): fixed formatter max line length --- .editorconfig | 3 ++- src/pages/blog/index.astro | 9 ++------- src/pages/index.astro | 37 ++++++------------------------------- 3 files changed, 10 insertions(+), 39 deletions(-) diff --git a/.editorconfig b/.editorconfig index ebe51d3..7d554d5 100644 --- a/.editorconfig +++ b/.editorconfig @@ -9,4 +9,5 @@ indent_size = 2 end_of_line = lf charset = utf-8 trim_trailing_whitespace = false -insert_final_newline = false \ No newline at end of file +insert_final_newline = false +max_line_length = 150 \ No newline at end of file diff --git a/src/pages/blog/index.astro b/src/pages/blog/index.astro index ac543c5..cfed363 100644 --- a/src/pages/blog/index.astro +++ b/src/pages/blog/index.astro @@ -5,9 +5,7 @@ import TransFlagPanel from "../../layouts/TransFlagPanel.astro"; import Panel from "../../layouts/Panel.astro"; import "../../styles/blogIndex.scss"; -const latestPosts = (await getCollection("blog")).sort( - (a, b) => b.data.pubDate.valueOf() - a.data.pubDate.valueOf(), -); +const latestPosts = (await getCollection("blog")).sort((a, b) => b.data.pubDate.valueOf() - a.data.pubDate.valueOf()); ---
@@ -18,10 +16,7 @@ const latestPosts = (await getCollection("blog")).sort( latestPosts.map((post) => { return ( - +

{post.data.description}

diff --git a/src/pages/index.astro b/src/pages/index.astro index a772566..fcf698d 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -15,50 +15,25 @@ import "../styles/Badge.scss";

- Hai! I'm Riley! A transfem  foxgirl - who likes programming & self-hosting who lives in the UK. Nice to meet you meow! - >^w^< + Hai! I'm Riley! A transfem  foxgirl who likes programming & self-hosting who lives in the UK. Nice + to meet you meow! >^w^<

- { - FriendBadges.map((badge) => ( - - )) - } + {FriendBadges.map((badge) => )}
- { - OtherBadges.map((badge) => ( - - )) - } + {OtherBadges.map((badge) => )}

- 🡠 + 🡠 Linuxposting webring - 🡢 + 🡢