From 1d506a7b4cc7fc92dc1551d0261270387de046be Mon Sep 17 00:00:00 2001 From: Leander Furumo Date: Fri, 30 Oct 2026 22:27:37 +0100 Subject: [PATCH] Fix deprecated Prettier option and make the repo pass prettier --check jsxBracketSameLine was replaced by bracketSameLine in Prettier 3. Ignore tsconfig.json, since Next rewrites it in its own format. Co-Authored-By: Claude Opus 5.5 --- .prettierignore | 1 + .prettierrc | 2 +- src/components/page-sections/office.module.css | 1 - 3 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.prettierignore b/.prettierignore index 58d06c3..50dbd1a 100644 --- a/.prettierignore +++ b/.prettierignore @@ -2,3 +2,4 @@ package.json package-lock.json public +tsconfig.json diff --git a/.prettierrc b/.prettierrc index ec3c335..8c26580 100644 --- a/.prettierrc +++ b/.prettierrc @@ -7,6 +7,6 @@ "jsxSingleQuote": false, "trailingComma": "es5", "bracketSpacing": true, - "jsxBracketSameLine": false, + "bracketSameLine": false, "arrowParens": "avoid" } diff --git a/src/components/page-sections/office.module.css b/src/components/page-sections/office.module.css index 26b3114..5a478be 100644 --- a/src/components/page-sections/office.module.css +++ b/src/components/page-sections/office.module.css @@ -37,4 +37,3 @@ max-height: 75vh; border-radius: 8px; } -