From 11f30f7edc16ef04b81158bec77212046cb2c234 Mon Sep 17 00:00:00 2001 From: Michael Mayer Date: Sat, 16 May 2026 10:34:38 +0200 Subject: [PATCH] Frontend: Restrict Prettier to CSS and JSON via .prettierignore Signed-off-by: Michael Mayer --- .prettierignore | 10 ++++++++++ frontend/.prettierignore | 12 +++++++++++- 2 files changed, 21 insertions(+), 1 deletion(-) diff --git a/.prettierignore b/.prettierignore index 5f429644f..2f6ae8eb0 100644 --- a/.prettierignore +++ b/.prettierignore @@ -12,3 +12,13 @@ tests/upload-files/ *.html *.md .* + +# JS / Vue / configs — ESLint owns formatting (see frontend/eslint.config.mjs). +# Prettier on these collapses intentional multi-line method chains and +# predicate lists; we deliberately moved them off Prettier's autofix path. +# Vue templates are formatted by eslint-plugin-vue's flat/recommended preset +# (vue/html-indent, vue/html-quotes, vue/max-attributes-per-line, etc.). +**/*.js +**/*.mjs +**/*.cjs +**/*.vue diff --git a/frontend/.prettierignore b/frontend/.prettierignore index bd7accde1..f5638f438 100644 --- a/frontend/.prettierignore +++ b/frontend/.prettierignore @@ -8,4 +8,14 @@ tests/upload-files/ .var *.html *.md -.* \ No newline at end of file +.* + +# JS / Vue / configs — ESLint owns formatting (see eslint.config.mjs). +# Prettier on these collapses intentional multi-line method chains and +# predicate lists; we deliberately moved them off Prettier's autofix path. +# Vue templates are formatted by eslint-plugin-vue's flat/recommended preset +# (vue/html-indent, vue/html-quotes, vue/max-attributes-per-line, etc.). +**/*.js +**/*.mjs +**/*.cjs +**/*.vue \ No newline at end of file