chore(deps-dev): bump lint-staged from 16.4.0 to 17.0.5
Bumps lint-staged from 16.4.0 to 17.0.5.
Release notes
Sourced from lint-staged's releases.
v17.0.5
Patch Changes
- #1792
1f67271- Correctly set the--max-arg-lengthdefault value based on the running platform. This controls how very long lists of staged files are split into multiple chunks.v17.0.4
Patch Changes
#1788
f95c1f8- Another fix for making sure lint-staged adds task modifications correctly to the commit in the following cases:
- after editing
<file>it is staged withgit add <file>, and then committed withgit commit- after editing
<file>it is committed withgit commit --allwithout explicitgit add- after editing
<file>it is committed withgit commit <pathspec>without explicitgit addThere's new test cases which actually setup the Git
pre_commithook to run lint-staged and verify them. These issues started in v17.0.0 when trying to improve support for committig without having explicitly staged files.v17.0.3
Patch Changes
- #1782
06813f9Thanks@iiroj! - Fix lint-staged behavior when implicitly committing files without usinggit addby either:
git commit -am "my commit message"where-a(--all) means to automatically stage all tracked modified and deleted filesgit commit -m "my commit message" .where.is an example of a pathspec where matching files will be stagedv17.0.2
Patch Changes
v17.0.1
Patch Changes
- #1776
4a5664bThanks@iiroj! - Adjust GitHub Actions workflow so that automatic publishing works with signed commits.v17.0.0
Major Changes
#1745
e244adfThanks@iiroj! - Node.js v20 is no longer supported, and the oldest supported version is now22.22.1, which is an active LTS version at the time of this release. Node.js 20 will be EOL after April 2026. Please upgrade your Node.js version!#1676
0584e0bThanks@outslept! - Lint-staged now tries to verify the installed Git version is at least2.32.0, released in 2021. If you're using an even older Git version, you need to upgrade it before running lint-staged!#1745
2dcc40aThanks@iiroj! - The dependencyyamlis now marked as optional and probably won't be installed by default. If you're using a YAML configuration file you should install the package separately:npm install --development yamlIf you're using
.lintstagedrcas the config file name (without a file extension), it will be treated as a YAML file. If the content is JSON, consider renaming it to.lintstagedrc.jsonto avoid needing to installyaml.Minor Changes
... (truncated)
Changelog
Sourced from lint-staged's changelog.
17.0.5
Patch Changes
- #1792
1f67271- Correctly set the--max-arg-lengthdefault value based on the running platform. This controls how very long lists of staged files are split into multiple chunks.17.0.4
Patch Changes
#1788
f95c1f8- Another fix for making sure lint-staged adds task modifications correctly to the commit in the following cases:
- after editing
<file>it is staged withgit add <file>, and then committed withgit commit- after editing
<file>it is committed withgit commit --allwithout explicitgit add- after editing
<file>it is committed withgit commit <pathspec>without explicitgit addThere's new test cases which actually setup the Git
pre_commithook to run lint-staged and verify them. These issues started in v17.0.0 when trying to improve support for committig without having explicitly staged files.17.0.3
Patch Changes
- #1782
06813f9Thanks@iiroj! - Fix lint-staged behavior when implicitly committing files without usinggit addby either:
git commit -am "my commit message"where-a(--all) means to automatically stage all tracked modified and deleted filesgit commit -m "my commit message" .where.is an example of a pathspec where matching files will be staged17.0.2
Patch Changes
17.0.1
Patch Changes
- #1776
4a5664bThanks@iiroj! - Adjust GitHub Actions workflow so that automatic publishing works with signed commits.17.0.0
Major Changes
#1745
e244adfThanks@iiroj! - Node.js v20 is no longer supported, and the oldest supported version is now22.22.1, which is an active LTS version at the time of this release. Node.js 20 will be EOL after April 2026. Please upgrade your Node.js version!#1676
0584e0bThanks@outslept! - Lint-staged now tries to verify the installed Git version is at least2.32.0, released in 2021. If you're using an even older Git version, you need to upgrade it before running lint-staged!#1745
2dcc40aThanks@iiroj! - The dependencyyamlis now marked as optional and probably won't be installed by default. If you're using a YAML configuration file you should install the package separately:npm install --development yaml
... (truncated)
Commits
cbd822eMerge pull request #1793 from lint-staged/changeset-release/main1911244chore(changeset): release7339d7dMerge pull request #1792 from lint-staged/fix-max-arg-length-default1f67271fix: defaultmaxArgLengthtoundefinedinstead ofNaNwhen parsing cli ...2862964Merge pull request #1789 from lint-staged/changeset-release/mainc9ecd54chore(changeset): releasecc6b51aMerge pull request #1788 from lint-staged/fix-update-index-againf95c1f8fix: update both default index.lock and non-standard lock when latter existsf44ee68Merge pull request #1786 from lint-staged/update-repo-urla61cf18build(deps): update dependencies- Additional commits viewable in compare 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 rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@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)
Summary by cubic
Upgrade lint-staged to 17.0.5 to improve pre-commit reliability and apply recent fixes, including safer handling when committing without explicit staging.
-
Dependencies
- Bump
lint-stagedfrom 16.4.0 to 17.0.5.
- Bump
-
Migration
- Requires Node.js >= 22.22.1 (update local and CI runtimes).
- Requires Git >= 2.32.0.
- If your config is in YAML, install
yaml(now optional):npm i -D yaml, or rename.lintstagedrcto.lintstagedrc.jsonif it contains JSON.