Skip to content

chore(deps): update dependency lint-staged to v17.6.0 - #1993

Merged
renovate[bot] merged 1 commit into
mainfrom
renovate/lint-staged-17.x-lockfile
Oct 4, 2026
Merged

renovate[bot] merged 1 commit into
mainfrom
renovate/lint-staged-17.x-lockfile

Conversation

@renovate

@renovate renovate Bot commented Oct 4, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
lint-staged 17.5.1 → 17.6.0 age adoption passing confidence

Release Notes

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

v17.6.0

Compare Source

Minor Changes
  • #​1850 938d3f4 - Task functions like { title, task } can now use a logger function log() to emit output while the task runs. By default, the output will only be visible if the task fails, unless the --verbose option was used. Additionally, when the task rejects, the error will be shown in the output.

    import { defineConfig } from 'lint-staged/config'
    
    export default defineConfig({
      '*': {
        title: 'Fail if PDF files are committed',
        task: async (filepaths, { log }) => {
          const pdfFiles = filepaths.filter((f) => f.toLowerCase().endsWith('.pdf'))
          if (pdfFiles.length > 0) {
            log('PDF files should not be committed: %s', pdfFiles)
            throw new Error('Failed')
          }
        },
      },
    })
  • #​1854 30562bc - lint-staged now stages changes to all tracked files modified by tasks, including files that weren’t originally staged or didn’t match the configured globs. This can happen when your task has side-effects, or it's a function that ignores the staged files like () => "prettier --write .".

    If you have unstaged changes in a file and the task also edits that file, your unstaged changes will be staged too. Use --hide-unstaged to hide your changes while tasks run.

Patch Changes
  • #​1860 4296532 - The assignment of staged files to lint-staged configuration files (when using multiple, for example in a monorepo) has been rewritten to be more efficient. As a reminder, each staged file is assigned to exactly one configuration (the closest one), even if that config doesn't match the file in its globs.

  • #​1861 c45f28a - Fix running parallel tasks for a single glob, when tasks are created by a function. Nesting one level of arrays inside an array of tasks will result in the inner tasks running in parallel. This behavior should now be consistent when creating tasks using functions. In the following example eslint and prettier will run in parallel (for all files, when any JS files are staged):

    import { defineConfig } from 'lint-staged/config'
    
    export default defineConfig({
      '*.js': () => [['eslint --max-warnings=0 .', 'prettier --list-different .']],
    })
  • #​1859 f0ea69d - Various performance improvements from skipping redundant internal Git calls.

  • #​1856 69d7d17 - Partially staged changes are hidden in a uniquely-named patch file to avoid multiple invocations of lint-staged overwriting it. This makes it safer to run lint-staged in multiple worktrees at the same time.


Configuration

📅 Schedule: (in timezone Asia/Tokyo)

  • Branch creation
    • "on the first day of the week"
  • 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 was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot added the R-Update(npm) Renovate: update npm label Oct 4, 2026
@renovate
renovate Bot enabled auto-merge (squash) October 4, 2026 01:24
@github-actions github-actions Bot added the T-@oreorebot2/common Type: OreOreBot2 Common (packages/common) label Oct 4, 2026
@codecov

codecov Bot commented Oct 4, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 61.05%. Comparing base (5badc93) to head (97b838c).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1993   +/-   ##
=======================================
  Coverage   61.05%   61.05%           
=======================================
  Files          89       89           
  Lines        1361     1361           
  Branches      215      215           
=======================================
  Hits          831      831           
  Misses        381      381           
  Partials      149      149           
Flag Coverage Δ
unittests 61.05% <ø> (ø)

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

☔ View full report in Codecov by Harness.
📢 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.

@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying oreorebot2 with  Cloudflare Pages  Cloudflare Pages

Latest commit: 97b838c
Status: ✅  Deploy successful!
Preview URL: https://5a2a5ef1.oreorebot2.pages.dev
Branch Preview URL: https://renovate-lint-staged-17-x-lo.oreorebot2.pages.dev

View logs

@renovate
renovate Bot merged commit 95a3753 into main Oct 4, 2026
14 checks passed
@renovate
renovate Bot deleted the renovate/lint-staged-17.x-lockfile branch October 4, 2026 01:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

R-Update(npm) Renovate: update npm T-@oreorebot2/common Type: OreOreBot2 Common (packages/common)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants