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 @@