The pre-commit plugin for prettier is unmaintained and clashed with our modern prettier. I tried to replace it with calling prettier directly, but it by default also scans generated files etc. our previous conf ignored. Can't be assed to fix this right now
[INFO] This may take a few minutes...
ruff check...............................................................Passed
ruff format..............................................................Passed
fix end of files.........................................................Passed
trim trailing whitespace.................................................Passed
prettier.................................................................Failed
- hook id: prettier
- exit code: 1
Checking formatting...
[warn] kompassi-v2-frontend/src/__generated__/graphql.ts
[warn] Code style issues found in the above file. Run Prettier with --write to fix.
Checking formatting...
All matched files use Prettier code style!
Checking formatting...
All matched files use Prettier code style!
Checking formatting...
[warn] kompassi-v2-frontend/src/__generated__/index.ts
[warn] kompassi-v2-frontend/src/__generated__/gql.ts
[warn] Code style issues found in 2 files. Run Prettier with --write to fix.
The pre-commit plugin for prettier is unmaintained and clashed with our modern prettier. I tried to replace it with calling prettier directly, but it by default also scans generated files etc. our previous conf ignored. Can't be assed to fix this right now