Skip to content

chore(dev): update dependency lint-staged to v17.2.0 - #1275

Open
fro-bot[bot] wants to merge 1 commit into
mainfrom
renovate/lint-staged-17.x
Open

chore(dev): update dependency lint-staged to v17.2.0#1275
fro-bot[bot] wants to merge 1 commit into
mainfrom
renovate/lint-staged-17.x

Conversation

@fro-bot

@fro-bot fro-bot Bot commented Jul 23, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence OpenSSF Code Search
lint-staged 17.0.817.2.0 age confidence OpenSSF Scorecard GitHub Code Search for "lint-staged"

Release Notes

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

v17.2.0

Compare Source

Minor Changes
  • #​1823 ee156cc - The chunking of tasks based on maximum command line argument length has been re-implemented to be more precise. Now the chunking happens based on the final generated command string, instead of just the list of staged files like previously. This benefits mainly Windows platforms and function commands like:

    /** @​type {import('lint-staged').Configuration} */
    export default {
      "*.ts": () => "tsc", // Run "tsc" when any TS file is changed (for entire project)
    };

    Where the spawned command is literally "tsc" without any extra arguments. Previously, this was still chunked when a lot of files were staged. Now, it probably won't be chunked because the length of the command is just three letters.

    Also, native JavaScript/Node.js function tasks won't be chunked at all, when previously they were run multiple times when chunked:

    /** @​type {import('lint-staged').Configuration} */
    export default {
      "*.js": {
        title: "Log staged JS files to console",
        task: async (files) => {
          console.log("Staged JS files:", files);
        },
      },
    };

v17.1.1

Compare Source

Patch Changes
  • #​1820 a626a9f - It's now possible to set --max-arg-length=Infinity to effectively disable chunking of tasks based on the number of staged files. The parsing and validation of the numeric CLI options --max-arg-length and --concurrency has been improved.

v17.1.0

Compare Source

Minor Changes
  • #​1816 7568d4f - The console output of lint-staged has been simplified so that there's less interactive spinners and more explicit messages like "Started…" -> "Done!". The primary purpose of this was to remove Listr2, a very large dependency.

    Before:

    Size of node_modules/ after installing: 1561.7 kB with 29 packages.

    Fancy interactive spinners, but output dynamically changes:

    ✔ Backed up original state in git stash (0b191303)
    ✔ Running tasks for staged files...
    ✔ Staging changes from tasks...
    ✔ Cleaning up temporary files...

    After:

    Size of node_modules/ after installing: 974.0 kB with 5 packages (37.6 % smaller, 82.7 % less transitive dependencies).

    Simpler but more explicit output:

    ⋯ Backing up original state…
    ✔ Done backing up original state (35b38ed1)!
    ⋯ Running tasks for staged files…
        *.js — 1 file
          ⋯ oxlint --fix
        *.{json,md} — 1 file
          ⋯ oxfmt --write
    
    ✔ oxfmt --write
    ✔ oxlint --fix
    
    ✔ Done running tasks for staged files!
    ⋯ Staging changes from tasks…
    ✔ Done staging changes from tasks!
    ⋯ Cleaning up temporary files…
    ✔ Done cleaning up temporary files!
Patch Changes
  • #​1816 c19079d - Try to restore hidden unstaged changes when using --no-revert.

  • #​1818 efb23a2 - Console output colors are enabled/disabled more consistently.

  • #​1818 26112a1 - Failed JS function tasks now properly kill other tasks, unless --continue-on-error is used. Previously their failure didn't affect other tasks.


Configuration

📅 Schedule: (in timezone America/Phoenix)

  • 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 has been generated by Mend Renovate.

@fro-bot fro-bot Bot added automerge dependencies Dependency updates or security alerts devDependencies labels Jul 23, 2026
@fro-bot
fro-bot Bot requested a review from fro-bot as a code owner July 23, 2026 23:35
@fro-bot fro-bot Bot added minor renovate Universal dependency update tool <https://mend.io/renovate> labels Jul 23, 2026
@fro-bot
fro-bot Bot requested a review from marcusrbrown as a code owner July 23, 2026 23:35
@fro-bot fro-bot Bot added automerge dependencies Dependency updates or security alerts renovate Universal dependency update tool <https://mend.io/renovate> minor devDependencies labels Jul 23, 2026
@fro-bot
fro-bot Bot enabled auto-merge (squash) July 23, 2026 23:35
@fro-bot
fro-bot Bot force-pushed the renovate/lint-staged-17.x branch from 0053883 to b49d2f1 Compare July 24, 2026 00:59
@fro-bot
fro-bot Bot force-pushed the renovate/lint-staged-17.x branch 2 times, most recently from d443883 to 9fff8cc Compare July 24, 2026 07:24
@fro-bot fro-bot mentioned this pull request Jul 24, 2026
60 tasks
@fro-bot
fro-bot Bot force-pushed the renovate/lint-staged-17.x branch 8 times, most recently from d33784f to 6693579 Compare July 25, 2026 03:04
@fro-bot
fro-bot Bot force-pushed the renovate/lint-staged-17.x branch from 6693579 to bce91dc Compare July 25, 2026 06:45
@fro-bot fro-bot Bot changed the title chore(dev): update dependency lint-staged to v17.1.0 chore(dev): update dependency lint-staged to v17.1.1 Jul 25, 2026
@fro-bot
fro-bot Bot force-pushed the renovate/lint-staged-17.x branch from bce91dc to defa584 Compare July 26, 2026 10:24
@fro-bot fro-bot Bot changed the title chore(dev): update dependency lint-staged to v17.1.1 chore(dev): update dependency lint-staged to v17.2.0 Jul 26, 2026
@fro-bot
fro-bot Bot force-pushed the renovate/lint-staged-17.x branch 5 times, most recently from 33baede to c38c0dd Compare July 28, 2026 08:42
@fro-bot
fro-bot Bot force-pushed the renovate/lint-staged-17.x branch from c38c0dd to cedb4b9 Compare July 28, 2026 20:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

automerge dependencies Dependency updates or security alerts minor renovate Universal dependency update tool <https://mend.io/renovate>

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants