Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Oct 12, 2025

Bumps lint-staged from 15.5.0 to 16.2.4.

Release notes

Sourced from lint-staged's releases.

v16.2.4

Patch Changes

v16.2.3

Patch Changes

  • #1669 27cd541 Thanks @​iiroj! - When using --fail-on-changes, automatically hidden (partially) unstaged changes are no longer counted to make lint-staged fail.

v16.2.2

Patch Changes

  • #1667 699f95d Thanks @​iiroj! - The backup stash will not be dropped when using --fail-on-changes and there are errors. When reverting to original state is disabled (via --no-revert or --fail-on-changes), hidden (partially) unstaged changes are still restored automatically so that it's easier to resolve the situation manually.

    Additionally, the example for using the backup stash manually now uses the correct backup hash, if available:

    % npx lint-staged --fail-on-changes
    ✔ Backed up original state in git stash (c18d55a3)
    ✔ Running tasks for staged files...
    ✖ Tasks modified files and --fail-on-changes was used!
    ↓ Cleaning up temporary files...
    ✖ lint-staged failed because --fail-on-changes was used.
    Any lost modifications can be restored from a git stash:
    > git stash list --format="%h %s"
    c18d55a3 On main: lint-staged automatic backup
    > git apply --index c18d55a3

v16.2.1

Patch Changes

  • #1664 8277b3b Thanks @​iiroj! - The built-in TypeScript types have been updated to more closely match the implementation. Notably, the list of staged files supplied to task functions is readonly string[] and can't be mutated. Thanks @​outslept!

    export default {
    ---  "*": (files: string[]) => void console.log('staged files', files)
    +++  "*": (files: readonly string[]) => void console.log('staged files', files)
    }
  • #1654 70b9af3 Thanks @​iiroj! - This version has been published from GitHub Actions using Trusted Publishing for npm packages.

  • #1659 4996817 Thanks @​iiroj! - Fix searching configuration files when the working directory is a subdirectory of a git repository, and there are package.json files in the working directory. This situation might happen when running lint-staged for a single package in a monorepo.

... (truncated)

Changelog

Sourced from lint-staged's changelog.

16.2.4

Patch Changes

16.2.3

Patch Changes

  • #1669 27cd541 Thanks @​iiroj! - When using --fail-on-changes, automatically hidden (partially) unstaged changes are no longer counted to make lint-staged fail.

16.2.2

Patch Changes

  • #1667 699f95d Thanks @​iiroj! - The backup stash will not be dropped when using --fail-on-changes and there are errors. When reverting to original state is disabled (via --no-revert or --fail-on-changes), hidden (partially) unstaged changes are still restored automatically so that it's easier to resolve the situation manually.

    Additionally, the example for using the backup stash manually now uses the correct backup hash, if available:

    % npx lint-staged --fail-on-changes
    ✔ Backed up original state in git stash (c18d55a3)
    ✔ Running tasks for staged files...
    ✖ Tasks modified files and --fail-on-changes was used!
    ↓ Cleaning up temporary files...
    ✖ lint-staged failed because --fail-on-changes was used.
    Any lost modifications can be restored from a git stash:
    > git stash list --format="%h %s"
    c18d55a3 On main: lint-staged automatic backup
    > git apply --index c18d55a3

16.2.1

Patch Changes

  • #1664 8277b3b Thanks @​iiroj! - The built-in TypeScript types have been updated to more closely match the implementation. Notably, the list of staged files supplied to task functions is readonly string[] and can't be mutated. Thanks @​outslept!

    export default {
    ---  "*": (files: string[]) => void console.log('staged files', files)
    +++  "*": (files: readonly string[]) => void console.log('staged files', files)
    }

... (truncated)

Commits
  • 122580b chore(changeset): release
  • 0176038 fix(deps): update dependencies
  • 581a54e perf: only import yaml when loading YAML files
  • bdcd03a chore(changeset): release
  • 27cd541 fix: do not count hidden (partially) unstaged changes when using `--fail-on-c...
  • ab2f42e fix: emit correct value to debug logs
  • 3fc5832 refactor: make general error messages more clear they originate from lint-staged
  • 409d79a chore(changeset): release
  • 7edaee9 docs: fix typo in changeset
  • 699f95d fix: backup stash example uses real hash if available
  • Additional commits viewable in compare view
Maintainer changes

This version was pushed to npm by [GitHub Actions](https://www.npmjs.com/~GitHub Actions), a new releaser for lint-staged since your current version.


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/lint-staged-16.2.4 branch from 5fead9f to 147533a Compare October 12, 2025 14:16
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/lint-staged-16.2.4 branch from 147533a to 9409949 Compare October 12, 2025 14:28
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/lint-staged-16.2.4 branch from 9409949 to 9cb033b Compare October 12, 2025 14:36
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/lint-staged-16.2.4 branch from 9cb033b to 75f9acd Compare October 12, 2025 14:42
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/lint-staged-16.2.4 branch from 75f9acd to cf26800 Compare October 12, 2025 14:49
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/lint-staged-16.2.4 branch from cf26800 to f823b62 Compare October 12, 2025 14:57
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/lint-staged-16.2.4 branch from f823b62 to 07d47d3 Compare October 12, 2025 15:12
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Oct 14, 2025

Dependabot could not find a dependency.. Because of this, Dependabot cannot update this pull request.

@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/lint-staged-16.2.4 branch from 07d47d3 to 1b25e43 Compare October 15, 2025 08:50
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/lint-staged-16.2.4 branch from 1b25e43 to c5913c0 Compare October 16, 2025 12:23
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/lint-staged-16.2.4 branch from c5913c0 to ca90586 Compare October 17, 2025 13:28
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/lint-staged-16.2.4 branch from ca90586 to 5f9c1a3 Compare October 19, 2025 14:09
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/lint-staged-16.2.4 branch from 5f9c1a3 to b76d263 Compare October 19, 2025 14:18
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/lint-staged-16.2.4 branch from b76d263 to b331d98 Compare October 19, 2025 14:30
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/lint-staged-16.2.4 branch from b331d98 to d911180 Compare October 19, 2025 14:44
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/lint-staged-16.2.4 branch from d911180 to eab3917 Compare October 20, 2025 16:32
Bumps [lint-staged](https://github.com/lint-staged/lint-staged) from 15.5.0 to 16.2.4.
- [Release notes](https://github.com/lint-staged/lint-staged/releases)
- [Changelog](https://github.com/lint-staged/lint-staged/blob/main/CHANGELOG.md)
- [Commits](lint-staged/lint-staged@v15.5.0...v16.2.4)

---
updated-dependencies:
- dependency-name: lint-staged
  dependency-version: 16.2.4
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/lint-staged-16.2.4 branch from eab3917 to 9210f1c Compare October 23, 2025 15:41
@sonarqubecloud
Copy link

@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Oct 26, 2025

Superseded by #19704.

@dependabot dependabot bot closed this Oct 26, 2025
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/lint-staged-16.2.4 branch October 26, 2025 15:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants