From 231c1effad1d13850115204374c866d2c446b896 Mon Sep 17 00:00:00 2001 From: Bappadala Rohith Kumar Naidu <198095685+rohitkumarnaidu@users.noreply.github.com> Date: Mon, 10 Aug 2026 00:32:50 +0530 Subject: [PATCH 1/2] style: implement prettier configuration --- .prettierignore | 83 ++++++------------------------------------------- .prettierrc | 8 +++++ 2 files changed, 18 insertions(+), 73 deletions(-) create mode 100644 .prettierrc diff --git a/.prettierignore b/.prettierignore index e89ea5d..16e1fd4 100644 --- a/.prettierignore +++ b/.prettierignore @@ -1,75 +1,12 @@ -# Prettier ignore rules. -# -# Prettier is not a build dependency in this repo; it reaches contributors -# through the `esbenp.prettier-vscode` extension installed by -# .devcontainer/devcontainer.json. Without this file, "Format Document" and -# format-on-save happily rewrite generated, vendored and binary-adjacent files -# that are not ours to reformat, producing large unrelated diffs in PRs. -# -# Mirrors .gitignore / .dockerignore where the same paths apply. - -# Dependencies node_modules/ -frontend/node_modules/ -backend/node_modules/ - -# Lockfiles — regenerated by npm, never hand-formatted -package-lock.json -frontend/package-lock.json -backend/package-lock.json - -# Build output -frontend/dist/ -backend/dist/ -playwright-report/ -test-results/ -builds/output/ -builds/test-output/ -builds/ila-repo/ - -# Logs -build.log -*.log - -# Local environment / runtime data -.env -.env.local -.env.*.local -.env.production -backend/.env -backend/.env.local -backend/.env.*.local -frontend/.env.local -frontend/.env.*.local -.proofdesk-data/ -backend/.proofdesk-data/ -.tmp/ - -# Prisma-managed artifacts and the local dev database -backend/prisma/migrations/ -backend/dev.db -backend/dev.db-journal -*.db -*.sqlite -*.sqlite3 - -# Vendored PreTeXt fixture repository — upstream content, not ours to format -test-repo/ - -# Generated coverage +dist/ +build/ coverage/ - -# Binary / non-formattable assets -*.png -*.jpg -*.jpeg -*.gif -*.svg -*.ico -*.woff -*.woff2 -*.ttf -*.eot -*.pdf -*.zip -*.tgz +.next/ +out/ +public/ +*.min.js +*.min.css +.env +.env.* +!.env.example diff --git a/.prettierrc b/.prettierrc new file mode 100644 index 0000000..fff0cbd --- /dev/null +++ b/.prettierrc @@ -0,0 +1,8 @@ +{ + "semi": true, + "trailingComma": "all", + "singleQuote": true, + "printWidth": 80, + "tabWidth": 2, + "endOfLine": "auto" +} From 41a1f64f1649c2a63bf31584d22a45068c291d41 Mon Sep 17 00:00:00 2001 From: Bappadala Rohith Kumar Naidu <198095685+rohitkumarnaidu@users.noreply.github.com> Date: Mon, 10 Aug 2026 00:42:07 +0530 Subject: [PATCH 2/2] fix: restore original .prettierignore --- .prettierignore | 83 +++++++++++++++++++++++++++++++++++++++++++------ 1 file changed, 73 insertions(+), 10 deletions(-) diff --git a/.prettierignore b/.prettierignore index 16e1fd4..e89ea5d 100644 --- a/.prettierignore +++ b/.prettierignore @@ -1,12 +1,75 @@ +# Prettier ignore rules. +# +# Prettier is not a build dependency in this repo; it reaches contributors +# through the `esbenp.prettier-vscode` extension installed by +# .devcontainer/devcontainer.json. Without this file, "Format Document" and +# format-on-save happily rewrite generated, vendored and binary-adjacent files +# that are not ours to reformat, producing large unrelated diffs in PRs. +# +# Mirrors .gitignore / .dockerignore where the same paths apply. + +# Dependencies node_modules/ -dist/ -build/ -coverage/ -.next/ -out/ -public/ -*.min.js -*.min.css +frontend/node_modules/ +backend/node_modules/ + +# Lockfiles — regenerated by npm, never hand-formatted +package-lock.json +frontend/package-lock.json +backend/package-lock.json + +# Build output +frontend/dist/ +backend/dist/ +playwright-report/ +test-results/ +builds/output/ +builds/test-output/ +builds/ila-repo/ + +# Logs +build.log +*.log + +# Local environment / runtime data .env -.env.* -!.env.example +.env.local +.env.*.local +.env.production +backend/.env +backend/.env.local +backend/.env.*.local +frontend/.env.local +frontend/.env.*.local +.proofdesk-data/ +backend/.proofdesk-data/ +.tmp/ + +# Prisma-managed artifacts and the local dev database +backend/prisma/migrations/ +backend/dev.db +backend/dev.db-journal +*.db +*.sqlite +*.sqlite3 + +# Vendored PreTeXt fixture repository — upstream content, not ours to format +test-repo/ + +# Generated coverage +coverage/ + +# Binary / non-formattable assets +*.png +*.jpg +*.jpeg +*.gif +*.svg +*.ico +*.woff +*.woff2 +*.ttf +*.eot +*.pdf +*.zip +*.tgz