GitHub
05/10/2025, 5:33 PM--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
• #1558 `c37dc38` Thanks @iiroj! - The minimum required Node.js version is lowered to 20.17 following nano-spawn@1.0.2.
### `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 `"$@​"`:
---
### 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 becomes conflicted, 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 <https://developer.mend.io/github/pact-foundation/jest-…
pact-foundation/jest-pact