Skip to content

chore(deps): update dependency lint-staged to ^17.3.0 - #831

Merged
tradeshift-renovatebot merged 1 commit into
masterfrom
renovate/lint-staged-17.x
Aug 3, 2026
Merged

chore(deps): update dependency lint-staged to ^17.3.0#831
tradeshift-renovatebot merged 1 commit into
masterfrom
renovate/lint-staged-17.x

Conversation

@tradeshift-renovate

@tradeshift-renovate tradeshift-renovate Bot commented Aug 1, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Type Update Change
lint-staged devDependencies minor ^17.0.8 -> ^17.3.0

Release Notes

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

v17.3.0

Compare Source

Minor Changes
  • #​1825 16b3f74 - It is now possible to run multiple tasks in parallel for a single glob by configuring it with an array of tasks (which run sequentially), and then placing another array inside it (where the tasks will run in parallel). The following demonstrates the order tasks will start in:

    {
      "*.ts": ["first", "second", ["third", "third"], "fourth"]
    }

    As a concrete example, lint-staged's own configuration is:

    /** @​type {import('./lib/index.js').Configuration} */
    export default {
      "*": [
        [
          "oxfmt --check --no-error-on-unmatched-pattern",
          "oxlint --no-error-on-unmatched-pattern",
        ],
      ],
      "*.ts": () => "tsc",
    };

    which means:

    1. for all staged files, run the two commands in parallel with staged filenames appended, for example:
      • oxfmt --check --no-error-on-unmatched-pattern lib/index.js
      • oxlint --no-error-on-unmatched-pattern lib/index.js
    2. additionally, if any *.ts files are staged, run tsc without appending any arguments
    3. The two sets of commands also run in parallel
Patch Changes
  • #​1829 15f7e53 - During an in-progress merge, files that are unchanged from the branch being merged are now skipped. Technically, files are only included if there are staged changes against both HEAD and MERGE_HEAD.

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:

    :heavy_check_mark: Backed up original state in git stash (0b191303)
    :heavy_check_mark: Running tasks for staged files...
    :heavy_check_mark: Staging changes from tasks...
    :heavy_check_mark: 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…
    :heavy_check_mark: Done backing up original state (35b38ed1)!
    ⋯ Running tasks for staged files…
        *.js — 1 file
          ⋯ oxlint --fix
        *.{json,md} — 1 file
          ⋯ oxfmt --write
    
    :heavy_check_mark: oxfmt --write
    :heavy_check_mark: oxlint --fix
    
    :heavy_check_mark: Done running tasks for staged files!
    ⋯ Staging changes from tasks…
    :heavy_check_mark: Done staging changes from tasks!
    ⋯ Cleaning up temporary files…
    :heavy_check_mark: 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: 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 requested a review from a team as a code owner August 1, 2026 02:10
@tradeshift-renovate tradeshift-renovate Bot added the dependencies Pull requests that update a dependency file label Aug 1, 2026
@tradeshift-renovate
tradeshift-renovate Bot requested a review from a team as a code owner August 1, 2026 02:10
@tradeshift-renovate
tradeshift-renovate Bot requested a review from a team as a code owner August 1, 2026 02:10
@tradeshift-renovate tradeshift-renovate Bot added dependencies Pull requests that update a dependency file dev labels Aug 1, 2026
@tradeshift-renovate
tradeshift-renovate Bot force-pushed the renovate/lint-staged-17.x branch from affe99c to 21599fd Compare August 1, 2026 02:10
@tradeshift-renovate
tradeshift-renovate Bot force-pushed the renovate/lint-staged-17.x branch 2 times, most recently from 2cb215b to 4c67c2a Compare August 1, 2026 02:10
@tradeshift-renovate
tradeshift-renovate Bot force-pushed the renovate/lint-staged-17.x branch from 4c67c2a to 0667597 Compare August 3, 2026 11:06
@tradeshift-renovate tradeshift-renovate Bot changed the title chore(deps): update dependency lint-staged to ^17.2.0 chore(deps): update dependency lint-staged to ^17.3.0 Aug 3, 2026
@ts-sonarqube

ts-sonarqube Bot commented Aug 3, 2026

Copy link
Copy Markdown

@tradeshift-renovatebot
tradeshift-renovatebot merged commit 7ed60ce into master Aug 3, 2026
5 checks passed
@tradeshift-renovatebot
tradeshift-renovatebot deleted the renovate/lint-staged-17.x branch August 3, 2026 11:33
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.

2 participants