Skip to content

chore(deps): update dependency lint-staged to v16 #640

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 6, 2025

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented May 13, 2025

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
lint-staged ^15.5.2 -> ^16.1.0 age adoption passing confidence

Release Notes

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

v16.1.0

Compare Source

Minor Changes
  • #​1536 e729daa Thanks @​iiroj! - A new flag --no-revert has been introduced for when task modifications should be applied to the index before aborting the commit in case of errors. By default, lint-staged will clear all task modifications and revert to the original state.

  • #​1550 b27fa3f Thanks @​iiroj! - Lint-staged now ignores symlinks and leaves them out from the list of staged files.

Patch Changes

v16.0.0

Compare Source

Major Changes
  • #​1546 158d15c Thanks @​iiroj! - Processes are spawned using nano-spawn instead of execa. If you are using Node.js scripts as tasks, you might need to explicitly run them with node, especially when using Windows:

    {
      "*.js": "node my-js-linter.js"
    }
  • #​1546 158d15c Thanks @​iiroj! - The --shell flag has been removed and lint-staged no longer supports evaluating commands directly via a shell. To migrate existing commands, you can create a shell script and invoke it instead. Lint-staged will pass matched staged files as a list of arguments, accessible via "$@​":


Configuration

📅 Schedule: Branch creation - "after 9pm,before 9am" in timezone Asia/Shanghai, Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, 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 force-pushed the renovate/lint-staged-16.x branch 6 times, most recently from e270322 to eb72ee7 Compare May 20, 2025 22:12
@renovate renovate bot force-pushed the renovate/lint-staged-16.x branch 7 times, most recently from 62c2be8 to 4948bdf Compare May 28, 2025 22:31
@renovate renovate bot force-pushed the renovate/lint-staged-16.x branch 3 times, most recently from bd31dbd to 0880eef Compare June 1, 2025 16:29
@renovate renovate bot force-pushed the renovate/lint-staged-16.x branch from 0880eef to 07571c7 Compare June 3, 2025 15:58
@coderwyd coderwyd merged commit 08c3d49 into main Jun 6, 2025
2 checks passed
@renovate renovate bot deleted the renovate/lint-staged-16.x branch June 6, 2025 09:42
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.

1 participant