#360 chore(deps): update dependency lint-staged to v15.5.0
Pull request opened by
renovate[bot]
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
| ------------------------------------------------------------------ | ------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [lint-staged](
https://redirect.github.com/lint-staged/lint-staged) | [15.4.3 -> 15.5.0](
https://renovatebot.com/diffs/npm/lint-staged/15.4.3/15.5.0) | [[age](
https://camo.githubusercontent.com/f29aa567942907b0325a4e8513592a9062686131cb720fc0f1bf2a39c0613ac1/68747470733a2f2f646576656c6f7065722e6d656e642e696f2f6170692f6d632f6261646765732f6167652f6e706d2f6c696e742d7374616765642f31352e352e303f736c696d3d74727565)](
https://docs.renovatebot.com/merge-confidence/) | [[adoption](
https://camo.githubusercontent.com/dec389eb477d120904e702f869e321c96f9a7c1695005c9a48b3b7780e24ac39/68747470733a2f2f646576656c6f7065722e6d656e642e696f2f6170692f6d632f6261646765732f61646f7074696f6e2f6e706d2f6c696e742d7374616765642f31352e352e303f736c696d3d74727565)](
https://docs.renovatebot.com/merge-confidence/) | [[passing](
https://camo.githubusercontent.com/35a5f32948b3f9bb09ce94aacc522fa5b99bfe09fef060957b8c7cf0743d5649/68747470733a2f2f646576656c6f7065722e6d656e642e696f2f6170692f6d632f6261646765732f636f6d7061746962696c6974792f6e706d2f6c696e742d7374616765642f31352e342e332f31352e352e303f736c696d3d74727565)](
https://docs.renovatebot.com/merge-confidence/) | [[confidence](
https://camo.githubusercontent.com/590e525a17089c82f9ec59b5a9393f4d958309cd151e0c1aaa3929611647c797/68747470733a2f2f646576656c6f7065722e6d656e642e696f2f6170692f6d632f6261646765732f636f6e666964656e63652f6e706d2f6c696e742d7374616765642f31352e342e332f31352e352e303f736c696d3d74727565)](
https://docs.renovatebot.com/merge-confidence/) |
---
### Release Notes
lint-staged/lint-staged (lint-staged)
###
`v15.5.0`
Compare Source
##### Minor Changes
•
#1526 `630af5f` Thanks
@iiroj! - Lint-staged no longer resets to the original state when preventing an empty git commit. This happens when your configured tasks reset all the staged changes, typically when trying to commit formatting changes which conflict with your linter setup like ESLint or Prettier.
##### Example with Prettier
By default Prettier
prefers double quotes.
##### Previously
1. Stage
file.js
with only double quotes
"
changed to
'
2. Run
git commit -am "I don't like double quotes"
3.
Lint-staged runs
prettier --write file.js
, converting all the
'
back to
"
4. Because there are now no changes,
lint-staged fails, cancels the commit, and resets back to the original state
5. Commit was not done, original state is restored and single quotes
'
are staged
##### Now
1. Stage
file.js
with only double-quotes
"
changed to
'
2. Run
git commit -am "I don't like double quotes"
3.
Lint-staged runs
prettier --write file.js
, converting all the
'
back to
"
4. Because there are now no changes,
lint-staged fails and cancels the commit
5. Commit was not done, and there are no staged changes
---
### Configuration
📅
Schedule: Branch creation - At any time (no schedule defined), 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.
pact-foundation/jest-pact