my website at ewancroft.uk
6
fork

Configure Feed

Select the types of activity you want to include in your feed.

chore: fix pre-commit to use local prettier

Replaces mirrors-prettier with local prettier execution to support
project-specific plugins like prettier-plugin-svelte.

👾 Generated with [Letta Code](https://letta.com)

Co-Authored-By: Letta Code <noreply@letta.com>

+6 -3
+6 -3
.pre-commit-config.yaml
··· 1 1 repos: 2 - - repo: https://github.com/pre-commit/mirrors-prettier 3 - rev: v3.1.0 2 + - repo: local 4 3 hooks: 5 4 - id: prettier 6 - types_or: [javascript, jsx, ts, tsx, json, yaml, markdown, css, html] 5 + name: prettier 6 + entry: pnpm exec prettier --write --ignore-unknown 7 + language: system 8 + types_or: [javascript, jsx, ts, tsx, json, yaml, markdown, css, svelte] 9 + pass_filenames: true