ReviewOS

also looking at this

stacks/post

chore(deps): update dependency lint-staged to 17.6.0

#810
Open github-actions[bot] wants to merge buddy-bot/update-major-update-lint-staged into main
2 files +10 -2
8 days ago

This PR contains the following updates:

npm

PackageChangeAgeAdoptionPassingConfidence
lint-staged (source)16.4.0 -> 17.6.0ageadoptionpassingconfidence

Release Notes

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

16.4.0 -> 17.6.0

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](https://github.com/lint-staged...

[View full release notes]

Released by github-actions[bot] on 9/26/2026

v17.5.1

Compare Source

Patch Changes

  • #1852 bfcca94 - Fix TypeScript issue TS1254 from defineConfig() by changing the signature from const to a function:

    A 'const' initializer in an ambient context must be a string or numeric literal or literal enum reference.

Released by github-actions[bot] on 9/10/2026

v17.5.0

Compare Source

Minor Changes

  • #1847 f9063b7 - Lint-staged now refuses to run when files were staged with --intent-to-add, because Git stash doesn't support them. Previously this was an unhandled error.

Patch Changes

  • #1848 d718ccc - Lint-staged now handles color support better in non-TTY streams, and honors the FORCE_COLOR environment variable.

  • #1845 7e5ece8 - Update tinyexec@1.3.1 so that local binaries from node_modules/.bin are resolved starting from the directory of each lint-staged configuration file (in monorepo setups). This behavior was broken in lint-staged@16.3.0 where t...

[View full release notes]

Released by github-actions[bot] on 9/5/2026


📊 Package Statistics

  • lint-staged: 27,048,116 weekly downloads

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), 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 Buddy 🤖

2 changed files on the files tab, with 0 review threads.

Sign in to comment on this pull request.