Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Sep 1, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
lint-staged 15.4.3 -> 15.5.0 age adoption passing 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: 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 Mend Renovate. View the repository job log.

@sonarqubecloud
Copy link

sonarqubecloud bot commented Sep 1, 2024

@renovate renovate bot force-pushed the renovate/lint-staged-15.x branch from 183e149 to 673f22c Compare November 10, 2024 11:30
@renovate renovate bot changed the title chore(deps): update dependency lint-staged to v15.2.10 chore(deps): update dependency lint-staged to v15.2.11 Dec 10, 2024
@renovate renovate bot force-pushed the renovate/lint-staged-15.x branch from 673f22c to 647a6f4 Compare December 10, 2024 16:56
@renovate renovate bot force-pushed the renovate/lint-staged-15.x branch from 647a6f4 to 8f316f1 Compare December 28, 2024 12:10
@renovate renovate bot changed the title chore(deps): update dependency lint-staged to v15.2.11 chore(deps): update dependency lint-staged to v15.3.0 Dec 28, 2024
@renovate renovate bot changed the title chore(deps): update dependency lint-staged to v15.3.0 chore(deps): update dependency lint-staged to v15.4.0 Jan 16, 2025
@renovate renovate bot force-pushed the renovate/lint-staged-15.x branch from 8f316f1 to 4d09cc4 Compare January 16, 2025 12:50
@renovate renovate bot changed the title chore(deps): update dependency lint-staged to v15.4.0 chore(deps): update dependency lint-staged to v15.4.1 Jan 16, 2025
@renovate renovate bot force-pushed the renovate/lint-staged-15.x branch 2 times, most recently from 1a50704 to 9e5bfa8 Compare January 23, 2025 13:40
@renovate renovate bot changed the title chore(deps): update dependency lint-staged to v15.4.1 chore(deps): update dependency lint-staged to v15.4.2 Jan 23, 2025
@renovate renovate bot force-pushed the renovate/lint-staged-15.x branch from 9e5bfa8 to e4f22d9 Compare January 26, 2025 16:58
@renovate renovate bot changed the title chore(deps): update dependency lint-staged to v15.4.2 chore(deps): update dependency lint-staged to v15.4.3 Jan 26, 2025
@sonarqubecloud
Copy link

@renovate renovate bot changed the title chore(deps): update dependency lint-staged to v15.4.3 chore(deps): update dependency lint-staged to v15.4.3 - autoclosed Mar 8, 2025
@renovate renovate bot closed this Mar 8, 2025
@renovate renovate bot deleted the renovate/lint-staged-15.x branch March 8, 2025 17:23
@renovate renovate bot changed the title chore(deps): update dependency lint-staged to v15.4.3 - autoclosed chore(deps): update dependency lint-staged to v15.4.3 Mar 12, 2025
@renovate renovate bot reopened this Mar 12, 2025
@renovate renovate bot changed the title chore(deps): update dependency lint-staged to v15.4.3 chore(deps): update dependency lint-staged to v15.5.0 Mar 12, 2025
@renovate renovate bot force-pushed the renovate/lint-staged-15.x branch from e4f22d9 to e0fa036 Compare March 12, 2025 19:36
@pkg-pr-new
Copy link

pkg-pr-new bot commented Mar 12, 2025

Open in Stackblitz

npm i https://pkg.pr.new/basics/vector/@js-basics/vector@535

commit: e0fa036

@sonarqubecloud
Copy link

@ThornWalli ThornWalli merged commit ad20c42 into main Mar 13, 2025
8 checks passed
@github-actions
Copy link

🎉 This PR is included in version 2.2.2 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants