Skip to content

Exclude package-lock.json from pre-commit autoformatting - #2355

Merged
matthiask merged 1 commit into
mainfrom
mk/disable-package-lock-autoformatting
Apr 21, 2026
Merged

Exclude package-lock.json from pre-commit autoformatting#2355
matthiask merged 1 commit into
mainfrom
mk/disable-package-lock-autoformatting

Conversation

@matthiask

@matthiask matthiask commented Apr 21, 2026

Copy link
Copy Markdown
Member

Description

The default biome hook also autoformats JSON files. I do not want biome to
autoformat package.json and package-lock.json files, I rather want them to
stay the way npm writes them. This keeps diffs clean when e.g. dependabot
submits updates.

Checklist:

  • I have added the relevant tests for this change.
  • I have added an item to the Pending section of docs/changes.rst.

AI/LLM Usage

  • This PR includes code generated with the help of an AI/LLM

@github-actions

Copy link
Copy Markdown

Coverage Report

Status Category Percentage Covered / Total
🔵 Lines 98.38% 61 / 62
🔵 Statements 98.41% 62 / 63
🔵 Functions 95% 19 / 20
🔵 Branches 71.42% 10 / 14
File CoverageNo changed files found.
Generated in workflow #3079 for commit c500b6d by the Vitest Coverage Report Action

@matthiask
matthiask merged commit c500b6d into main Apr 21, 2026
32 checks passed
@matthiask
matthiask deleted the mk/disable-package-lock-autoformatting branch April 21, 2026 06:54
@github-actions

Copy link
Copy Markdown

Coverage report

This PR does not seem to contain any modification to coverable code.

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