ci: properly ignore generated TS directory (#9383)

Only ignoring these in the pre-commit check is not enough as that only
affects CI. Instead, by adding these directories to the
`.prettierignore` file, they are also ignored when prettier is invoked
to format files.
This commit is contained in:
Thomas Eizinger
2025-06-04 07:49:05 +02:00
committed by GitHub
parent 2c221aea0c
commit 3748e7a15f
2 changed files with 3 additions and 1 deletions

View File

@@ -10,7 +10,6 @@ repos:
- id: prettier
name: Prettier
entry: prettier --check --ignore-unknown .
exclude: (^rust/gui-client/src-frontend/generated/)
language: system
pass_filenames: false

View File

@@ -11,3 +11,6 @@ website/.next
**/*.wxs
**/pnpm-lock.yaml
swift/apple/**/Contents.json
rust/gui-client/src-frontend/generated
rust/gui-client/dist
rust/gui-client/node_modules