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 {