From 5017186c1a5c166640315e02d7cd8a3305e1c508 Mon Sep 17 00:00:00 2001 From: Yisroel Baum Date: Mon, 22 Jun 2026 09:28:32 +0300 Subject: [PATCH] align frontend formatting --- frontend/rabbi_gerzi/.editorconfig | 2 +- frontend/rabbi_gerzi/.oxfmtrc.json | 1 + .../components/ElementSiblingNavigation.vue | 11 +-- frontend/rabbi_gerzi/src/stores/auth.ts | 10 ++- frontend/rabbi_gerzi/src/stores/elements.ts | 4 +- frontend/rabbi_gerzi/src/views/AboutPage.vue | 64 +++++++++++------ .../rabbi_gerzi/src/views/ContactPage.vue | 18 +++-- frontend/rabbi_gerzi/src/views/HomePage.vue | 71 +++++++++++++------ frontend/rabbi_gerzi/src/views/LoginPage.vue | 6 +- 9 files changed, 124 insertions(+), 63 deletions(-) diff --git a/frontend/rabbi_gerzi/.editorconfig b/frontend/rabbi_gerzi/.editorconfig index 3b510aa..d720b4b 100644 --- a/frontend/rabbi_gerzi/.editorconfig +++ b/frontend/rabbi_gerzi/.editorconfig @@ -5,4 +5,4 @@ indent_style = space insert_final_newline = true trim_trailing_whitespace = true end_of_line = lf -max_line_length = 100 +max_line_length = 80 diff --git a/frontend/rabbi_gerzi/.oxfmtrc.json b/frontend/rabbi_gerzi/.oxfmtrc.json index 4bddb67..977ee22 100644 --- a/frontend/rabbi_gerzi/.oxfmtrc.json +++ b/frontend/rabbi_gerzi/.oxfmtrc.json @@ -1,5 +1,6 @@ { "$schema": "./node_modules/oxfmt/configuration_schema.json", + "printWidth": 80, "semi": false, "singleQuote": true } diff --git a/frontend/rabbi_gerzi/src/components/ElementSiblingNavigation.vue b/frontend/rabbi_gerzi/src/components/ElementSiblingNavigation.vue index f862ea9..7eaa976 100644 --- a/frontend/rabbi_gerzi/src/components/ElementSiblingNavigation.vue +++ b/frontend/rabbi_gerzi/src/components/ElementSiblingNavigation.vue @@ -54,11 +54,8 @@ function siblingElementAtOffset(offset: number): ChildElement | null { } const siblingCount = props.siblingElements.length - const targetIndex = ( - currentSiblingIndex.value - + offset - + siblingCount - ) % siblingCount + const targetIndex = + (currentSiblingIndex.value + offset + siblingCount) % siblingCount return props.siblingElements[targetIndex] ?? null } @@ -67,9 +64,7 @@ function siblingElementAtOffset(offset: number): ChildElement | null {