Bumpslint-staged from 13.2.2 to 16.1.5.
Release notes
Sourced fromlint-staged's releases.
v16.1.5
Patch Changes
- #1608
4e3ce22 Thanks@srsatt! - Detect the git repo's top-level directory correctly when in a worktree.
v16.1.4
Patch Changes
- #1604
90b37b0 Thanks@iiroj! - Add anothertypes field topackage.json to make even more sure NPM detects thatlint-staged includes built-in TypeScript type definitions.
v16.1.3
Patch Changes
- #1602
7ea700b Thanks@dword-design! - Add thetypes field topackage.json to make sure NPM detectslint-staged includes built-in TypeScript type definitions.
v16.1.2
Patch Changes
#1570a7c0c88 Thanks@ItsNickBarry! - When using--diff-filter with theD option to include deleted staged files,lint-staged no longer tries to stage the deleted files, unless they're no longer deleted. Previously this caused an error fromgit add likefatal: pathspec 'deleted-file' did not match any files.
38f942e Thanks@iiroj! - Removed an extraneous log entry that printedshouldHidePArtiallyStagedFiles to console output.
v16.1.1
Patch Changes
#15653686977 Thanks@iiroj! -Lint-staged now explicitly warns about potential data loss when using--no-stash.
#157102299a9 Thanks@iiroj! - Function tasks (introduced in v16.0.0) only receive the staged files matching the configured glob, instead of all staged files.
#1563bc61c74 Thanks@iiroj! - This version fixes incorrect behavior where unstaged changes were committed when using the--no-stash option. This happened because--no-stash implied--no-hide-partially-staged, meaning unstaged changes to files which also had other staged changes were added to the commit bylint-staged; this is no longer the case.
The previous (incorrect) behavior can still be achieved by using both options--no-stash --no-hide-partially-staged at the same time.
v16.1.0
Minor Changes
#1536e729daa Thanks@iiroj! - A new flag--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.
#1550b27fa3f Thanks@iiroj! -Lint-staged now ignores symlinks and leaves them out from the list of staged files.
Patch Changes
v16.0.0
Major Changes
#1546158d15c Thanks@iiroj! - Processes are spawned usingnano-spawn instead ofexeca. If you are using Node.js scripts as tasks, you might need to explicitly run them withnode, especially when using Windows:
... (truncated)
Changelog
Sourced fromlint-staged's changelog.
16.1.5
Patch Changes
- #1608
4e3ce22 Thanks@srsatt! - Detect the git repo's top-level directory correctly when in a worktree.
16.1.4
Patch Changes
- #1604
90b37b0 Thanks@iiroj! - Add anothertypes field topackage.json to make even more sure NPM detects thatlint-staged includes built-in TypeScript type definitions.
16.1.3
Patch Changes
- #1602
7ea700b Thanks@dword-design! - Add thetypes field topackage.json to make sure NPM detectslint-staged includes built-in TypeScript type definitions.
16.1.2
Patch Changes
#1570a7c0c88 Thanks@ItsNickBarry! - When using--diff-filter with theD option to include deleted staged files,lint-staged no longer tries to stage the deleted files, unless they're no longer deleted. Previously this caused an error fromgit add likefatal: pathspec 'deleted-file' did not match any files.
38f942e Thanks@iiroj! - Removed an extraneous log entry that printedshouldHidePArtiallyStagedFiles to console output.
16.1.1
Patch Changes
#15653686977 Thanks@iiroj! -Lint-staged now explicitly warns about potential data loss when using--no-stash.
#157102299a9 Thanks@iiroj! - Function tasks (introduced in v16.0.0) only receive the staged files matching the configured glob, instead of all staged files.
#1563bc61c74 Thanks@iiroj! - This version fixes incorrect behavior where unstaged changes were committed when using the--no-stash option. This happened because--no-stash implied--no-hide-partially-staged, meaning unstaged changes to files which also had other staged changes were added to the commit bylint-staged; this is no longer the case.
The previous (incorrect) behavior can still be achieved by using both options--no-stash --no-hide-partially-staged at the same time.
16.1.0
Minor Changes
#1536e729daa Thanks@iiroj! - A new flag--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.
#1550b27fa3f Thanks@iiroj! -Lint-staged now ignores symlinks and leaves them out from the list of staged files.
Patch Changes
... (truncated)
Commits
15369c2 chore(changeset): release690d7c2 build(deps): update dependencies4e3ce22 fix: fix the incorrect relativeTopLevelDir detection when working with the wo...9151254 chore(changeset): release90b37b0 fix: add root-level "types" field to package.json795be13 chore(changeset): release4463089 build(deps): update dependencies7ea700b fix: allow npm to detect built-in TypeScript type definitions0a0a701 test: make sure "git amend" works as expectedbfb71eb perf: combinegit ls-files calls into single process (#1587)- Additional commits viewable incompare view

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting@dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebase will rebase this PR@dependabot recreate will recreate this PR, overwriting any edits that have been made to it@dependabot merge will merge this PR after your CI passes on it@dependabot squash and merge will squash and merge this PR after your CI passes on it@dependabot cancel merge will cancel a previously requested merge and block automerging@dependabot reopen will reopen this PR if it is closed@dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency@dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Uh oh!
There was an error while loading.Please reload this page.
Bumpslint-staged from 13.2.2 to 16.1.5.
Release notes
Sourced fromlint-staged's releases.
... (truncated)
Changelog
Sourced fromlint-staged's changelog.
... (truncated)
Commits
15369c2chore(changeset): release690d7c2build(deps): update dependencies4e3ce22fix: fix the incorrect relativeTopLevelDir detection when working with the wo...9151254chore(changeset): release90b37b0fix: add root-level "types" field to package.json795be13chore(changeset): release4463089build(deps): update dependencies7ea700bfix: allow npm to detect built-in TypeScript type definitions0a0a701test: make sure "git amend" works as expectedbfb71ebperf: combinegit ls-filescalls into single process (#1587)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)