Skip to content

chore(deps): update dependency lint-staged to v15.5.2 - #1830

Merged
renovate[bot] merged 1 commit into
mainfrom
renovate/lint-staged-15.x
Apr 2, 2026
Merged

renovate[bot] merged 1 commit into
mainfrom
renovate/lint-staged-15.x

Conversation

@renovate

@renovate renovate Bot commented Nov 13, 2025 •

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
lint-staged 15.4.2 → 15.5.2 age confidence

Release Notes

lint-staged/lint-staged (lint-staged)

v15.5.2

Compare Source

Patch Changes

v15.5.1

Compare Source

Patch Changes
  • #​1533 5d53534 Thanks @​iiroj! - Improve listing of staged files so that lint-staged doesn't crash when encountering an uninitialized submodule. This should result in less errors like:

    ✖ Failed to get staged files!
    

v15.5.0

Compare Source

Minor Changes
  • #​1526 630af5f Thanks @​iiroj! - Lint-staged no longer resets to the original state when preventing an empty git commit. This happens when your configured tasks reset all the staged changes, typically when trying to commit formatting changes which conflict with your linter setup like ESLint or Prettier.
Example with Prettier

By default Prettier prefers double quotes.

Previously
  1. Stage file.js with only double quotes " changed to '
  2. Run git commit -am "I don't like double quotes"
  3. Lint-staged runs prettier --write file.js, converting all the ' back to "
  4. Because there are now no changes, lint-staged fails, cancels the commit, and resets back to the original state
  5. Commit was not done, original state is restored and single quotes ' are staged
Now
  1. Stage file.js with only double-quotes " changed to '
  2. Run git commit -am "I don't like double quotes"
  3. Lint-staged runs prettier --write file.js, converting all the ' back to "
  4. Because there are now no changes, lint-staged fails and cancels the commit
  5. Commit was not done, and there are no staged changes

v15.4.3

Compare Source

Patch Changes
  • #​1512 cbfed1d Thanks @​tarik02! - Adjust TypeScript types for the default export so that it can be used as a value without error TS2693.

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot added the renovate label Nov 13, 2025
@renovate
renovate Bot enabled auto-merge (squash) November 13, 2025 12:36
@renovate
renovate Bot force-pushed the renovate/lint-staged-15.x branch 2 times, most recently from 2331d2a to 61f60ec Compare November 17, 2025 12:37
@renovate
renovate Bot force-pushed the renovate/lint-staged-15.x branch 2 times, most recently from 5f260c4 to 5d7a997 Compare November 27, 2025 12:48
@renovate
renovate Bot force-pushed the renovate/lint-staged-15.x branch 6 times, most recently from f275e4e to 6d9f8d3 Compare December 18, 2025 11:45
@renovate
renovate Bot force-pushed the renovate/lint-staged-15.x branch 2 times, most recently from 2063870 to b552659 Compare December 22, 2025 13:00
@renovate
renovate Bot force-pushed the renovate/lint-staged-15.x branch 2 times, most recently from 92eebb0 to 616020d Compare January 15, 2026 12:27
@renovate
renovate Bot force-pushed the renovate/lint-staged-15.x branch 3 times, most recently from a704d79 to 8ae322b Compare January 26, 2026 10:10
@renovate
renovate Bot force-pushed the renovate/lint-staged-15.x branch 2 times, most recently from 2eb5bc3 to 19263ac Compare February 4, 2026 13:13
@renovate
renovate Bot force-pushed the renovate/lint-staged-15.x branch from 19263ac to 244d088 Compare March 19, 2026 15:44
@renovate
renovate Bot force-pushed the renovate/lint-staged-15.x branch from 244d088 to 81aa657 Compare April 2, 2026 09:26
@renovate
renovate Bot merged commit 301cd70 into main Apr 2, 2026
1 check passed
@renovate
renovate Bot deleted the renovate/lint-staged-15.x branch April 2, 2026 09:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant