From b8753da78de722884ba27660496502f896dfbce1 Mon Sep 17 00:00:00 2001 From: Matt Isenhower Date: Mon, 7 Sep 2026 13:48:03 -0700 Subject: [PATCH] Preserve original Vue component formatting --- eslint.config.mjs | 10 +- src/web/components/404.vue | 50 +-- src/web/components/AboutDialog.vue | 104 +++--- src/web/components/App.vue | 6 +- src/web/components/CalendarDialog.vue | 116 +++--- src/web/components/CalendarLink.vue | 72 ++-- src/web/components/Dropdown.vue | 53 ++- src/web/components/DropdownBase.vue | 32 +- src/web/components/Main.vue | 339 +++++++++--------- src/web/components/Modal.vue | 58 +-- src/web/components/Screenshots.vue | 6 +- src/web/components/VoteBanner.vue | 38 +- .../screenshots/ScreenshotHelper.vue | 102 +++--- src/web/components/screenshots/Wrapper.vue | 106 +++--- .../screenshots/newweapon/NewWeapon.vue | 10 +- .../screenshots/salmonrun/SalmonRun.vue | 26 +- .../screenshots/salmonrun/SalmonRunGear.vue | 10 +- .../screenshots/schedules/ScheduleBox.vue | 66 ++-- .../screenshots/schedules/Schedules.vue | 96 ++--- .../screenshots/splatfest/Splatfest.vue | 28 +- .../screenshots/splatnetgear/SplatNetGear.vue | 38 +- .../components/splatoon/FinalFestDialog.vue | 118 +++--- .../components/splatoon/GameModeHeader.vue | 28 +- .../components/splatoon/IdolResultsBox.vue | 54 +-- .../components/splatoon/IdolResultsRow.vue | 46 +-- .../components/splatoon/MerchandiseBox.vue | 134 ++++--- src/web/components/splatoon/NewWeaponBox.vue | 48 +-- .../splatoon/NewWeaponsContainer.vue | 16 +- src/web/components/splatoon/SalmonRunBox.vue | 218 +++++------ .../splatoon/SalmonRunDetailsBar.vue | 66 ++-- .../splatoon/SalmonRunGearDialog.vue | 14 +- src/web/components/splatoon/ScheduleBox.vue | 84 ++--- .../components/splatoon/ScheduleDialog.vue | 20 +- src/web/components/splatoon/ScheduleList.vue | 54 +-- src/web/components/splatoon/ScheduleRow.vue | 114 +++--- .../splatoon/SplatNetGearDialog.vue | 30 +- src/web/components/splatoon/SplatfestBox.vue | 158 ++++---- .../splatoon/SplatfestHistoryDialog.vue | 138 ++++--- .../splatoon/SplatfestResultsBox.vue | 66 ++-- .../splatoon/SplatfestResultsRow.vue | 56 +-- .../splatoon/SplatfestWinnerBar.vue | 6 +- src/web/components/splatoon/Stage.vue | 38 +- 42 files changed, 1392 insertions(+), 1480 deletions(-) diff --git a/eslint.config.mjs b/eslint.config.mjs index 917a703..0241c41 100644 --- a/eslint.config.mjs +++ b/eslint.config.mjs @@ -28,10 +28,16 @@ export default [ 'object-curly-spacing': ['warn', 'always'], // Vue + // Preserve this site's existing template layout instead of reformatting it on lint. + 'vue/html-indent': ['warn', 4], + 'vue/attributes-order': 'off', + 'vue/max-attributes-per-line': 'off', + 'vue/html-self-closing': 'off', + 'vue/singleline-html-element-content-newline': 'off', + 'vue/multiline-html-element-content-newline': 'off', + 'vue/block-order': 'off', 'vue/multi-word-component-names': 'off', 'vue/require-default-prop': 'off', - 'vue/max-attributes-per-line': ['warn', { singleline: { max: 4 } }], - 'vue/html-self-closing': ['warn', { html: { void: 'always' } }], 'vue/no-deprecated-filter': 'off', 'vue/require-toggle-inside-transition': 'off', 'vue/no-deprecated-destroyed-lifecycle': 'off', diff --git a/src/web/components/404.vue b/src/web/components/404.vue index 96b2d31..d321d39 100644 --- a/src/web/components/404.vue +++ b/src/web/components/404.vue @@ -1,31 +1,31 @@ diff --git a/src/web/components/AboutDialog.vue b/src/web/components/AboutDialog.vue index dd5382c..63dd7a3 100644 --- a/src/web/components/AboutDialog.vue +++ b/src/web/components/AboutDialog.vue @@ -1,60 +1,52 @@ - - + + diff --git a/src/web/components/App.vue b/src/web/components/App.vue index d3e2cd8..fbc544a 100644 --- a/src/web/components/App.vue +++ b/src/web/components/App.vue @@ -1,5 +1,5 @@ diff --git a/src/web/components/CalendarDialog.vue b/src/web/components/CalendarDialog.vue index fe7ca6b..57f9411 100644 --- a/src/web/components/CalendarDialog.vue +++ b/src/web/components/CalendarDialog.vue @@ -1,68 +1,59 @@ - - + + diff --git a/src/web/components/CalendarLink.vue b/src/web/components/CalendarLink.vue index 4051e8e..bca0696 100644 --- a/src/web/components/CalendarLink.vue +++ b/src/web/components/CalendarLink.vue @@ -1,55 +1,27 @@ - - diff --git a/src/web/components/Modal.vue b/src/web/components/Modal.vue index abc50a6..e716870 100644 --- a/src/web/components/Modal.vue +++ b/src/web/components/Modal.vue @@ -1,13 +1,35 @@ + + - - diff --git a/src/web/components/Screenshots.vue b/src/web/components/Screenshots.vue index 7bc57df..dca619b 100644 --- a/src/web/components/Screenshots.vue +++ b/src/web/components/Screenshots.vue @@ -1,7 +1,7 @@