Skip to content

chore(format): add .prettierignore to exclude generated lockfiles - #136

Merged
vitala89 merged 1 commit into
mainfrom
fix/prettier-ignore-lockfile-and-dependabot-prs
Jul 30, 2026
Merged

chore(format): add .prettierignore to exclude generated lockfiles#136
vitala89 merged 1 commit into
mainfrom
fix/prettier-ignore-lockfile-and-dependabot-prs

Conversation

@vitala89

Copy link
Copy Markdown
Owner

Summary

Adds .prettierignore to ignore generated lockfiles (pnpm-lock.yaml, Cargo.lock) and build outputs (dist, artifacts).

Root Cause

When Dependabot updates dependencies in package.json or lockfiles, pnpm updates pnpm-lock.yaml using its internal YAML formatting style. Prettier's default YAML checker previously flagged pnpm-lock.yaml, causing pnpm format:check to fail on Dependabot PRs (#133, #134, #135).

Verification

  • Running pnpm format:check locally passes cleanly.
  • git diff --check passed.

@vitala89
vitala89 merged commit 221e97e into main Jul 30, 2026
15 checks passed
@vitala89
vitala89 deleted the fix/prettier-ignore-lockfile-and-dependabot-prs branch July 30, 2026 08:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant