Skip to content

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

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented May 12, 2025

This PR contains the following updates:

Package Change Age Confidence
lint-staged 15.5.1 -> 16.1.2 age confidence

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 received the staged files matching the conpmnfigured 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.

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 "$@​":

v15.5.2

Compare Source

Patch Changes

Configuration

📅 Schedule: Branch creation - Between 12:00 AM and 03:59 AM, only on Monday ( * 0-3 * * 1 ) (UTC), Automerge - At any time (no schedule defined).

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

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.

Page not found · GitHub · GitHub
Skip to content
404 “This is not the web page you are looking for”
@renovate renovate bot requested a review from a team as a code owner May 12, 2025 02:58
Copy link

changeset-bot bot commented May 12, 2025

⚠️ No Changeset found

Latest commit: ec64fae

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@renovate renovate bot force-pushed the renovate/lint-staged-16.x branch 7 times, most recently from 67d8c0a to fe8c610 Compare May 15, 2025 12:21
@renovate renovate bot force-pushed the renovate/lint-staged-16.x branch from fe8c610 to f27cf24 Compare May 19, 2025 09:34
@renovate renovate bot force-pushed the renovate/lint-staged-16.x branch 6 times, most recently from ad9c2de to e977ed2 Compare June 3, 2025 14:01
@renovate renovate bot force-pushed the renovate/lint-staged-16.x branch 11 times, most recently from 849036e to c43e235 Compare June 10, 2025 14:45
@renovate renovate bot force-pushed the renovate/lint-staged-16.x branch from c43e235 to a9f2f07 Compare June 12, 2025 10:15
@renovate renovate bot force-pushed the renovate/lint-staged-16.x branch 4 times, most recently from 8ba5e02 to 06b8c6e Compare June 24, 2025 12:22
@renovate renovate bot force-pushed the renovate/lint-staged-16.x branch 10 times, most recently from 24d6dd4 to 78c9208 Compare July 2, 2025 12:58
@renovate renovate bot force-pushed the renovate/lint-staged-16.x branch 7 times, most recently from 1da0d01 to 5b6d696 Compare July 9, 2025 12:28
@renovate renovate bot force-pushed the renovate/lint-staged-16.x branch 3 times, most recently from 8179c8e to ab50eec Compare July 13, 2025 21:34
Copy link

codecov bot commented Jul 13, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 97.46%. Comparing base (e46b15e) to head (ec64fae).

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1061      +/-   ##
==========================================
+ Coverage   97.31%   97.46%   +0.15%     
==========================================
  Files          83       83              
  Lines        1304     1304              
  Branches      349      345       -4     
==========================================
+ Hits         1269     1271       +2     
+ Misses         31       29       -2     
  Partials        4        4              
Flag Coverage Δ
test-coverage 97.46% <ø> (+0.15%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@renovate renovate bot force-pushed the renovate/lint-staged-16.x branch 3 times, most recently from 56d4e25 to 52b779f Compare July 21, 2025 10:28
@renovate renovate bot force-pushed the renovate/lint-staged-16.x branch from 52b779f to ec64fae Compare July 25, 2025 14:34
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.

None yet

0 participants