Skip to content

Conversation

@tradeshift-renovate
Copy link

@tradeshift-renovate tradeshift-renovate bot commented Jul 1, 2025

This PR contains the following updates:

Package Type Update Change
lint-staged devDependencies patch ^16.1.0 -> ^16.1.2

Release Notes

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

v16.1.2

Compare Source

Patch Changes
  • #​1570 a7c0c88 Thanks @​ItsNickBarry! - When using --diff-filter with the D option to include deleted staged files, lint-staged no longer tries to stage the deleted files, unless they're no longer deleted. Previously this caused an error from git add like fatal: pathspec 'deleted-file' did not match any files.

  • 38f942e Thanks @​iiroj! - Removed an extraneous log entry that printed shouldHidePArtiallyStagedFiles to console output.

v16.1.1

Compare Source

Patch Changes
  • #​1565 3686977 Thanks @​iiroj! - Lint-staged now explicitly warns about potential data loss when using --no-stash.

  • #​1571 02299a9 Thanks @​iiroj! - Function tasks (introduced in v16.0.0) only receive the staged files matching the configured glob, instead of all staged files.

  • #​1563 bc61c74 Thanks @​iiroj! - This version fixes incorrect behavior where unstaged changes were committed when using the --no-stash option. This happened because --no-stash implied --no-hide-partially-staged, meaning unstaged changes to files which also had other staged changes were added to the commit by lint-staged; this is no longer the case.

    The previous (incorrect) behavior can still be achieved by using both options --no-stash --no-hide-partially-staged at the same time.


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - "every weekday in 2125" in timezone Europe/Copenhagen.

🚦 Automerge: Enabled.

♻️ Rebasing: Never, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


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

This PR has been generated by Renovate Bot.

@tradeshift-renovate tradeshift-renovate bot added dependencies Pull requests that update a dependency file dev labels Jul 1, 2025
@tradeshift-renovate tradeshift-renovate bot force-pushed the renovate/lint-staged-16.x branch from b49fe1c to 71223a4 Compare July 1, 2025 08:20
@tradeshift-renovate tradeshift-renovate bot force-pushed the renovate/lint-staged-16.x branch from 71223a4 to 214f2dc Compare July 1, 2025 12:19
@tradeshift-renovatebot tradeshift-renovatebot merged commit 819ed66 into master Jul 1, 2025
6 checks passed
@tradeshift-renovate tradeshift-renovate bot deleted the renovate/lint-staged-16.x branch July 1, 2025 12:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file dev

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants