Skip to content

chore(deps): update dependency lint-staged to v15.5.2#105

Open
renovate[bot] wants to merge 1 commit intomainfrom
renovate/lint-staged-15.x
Open

chore(deps): update dependency lint-staged to v15.5.2#105
renovate[bot] wants to merge 1 commit intomainfrom
renovate/lint-staged-15.x

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate Bot commented Mar 13, 2025

This PR contains the following updates:

Package Change Age Confidence
lint-staged 15.4.315.5.2 age confidence

Release Notes

lint-staged/lint-staged (lint-staged)

v15.5.2

Compare Source

Patch Changes

v15.5.1

Compare Source

Patch Changes
  • #​1533 5d53534 Thanks @​iiroj! - Improve listing of staged files so that lint-staged doesn't crash when encountering an uninitialized submodule. This should result in less errors like:

    ✖ Failed to get staged files!
    

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: (in timezone Europe/Istanbul)

  • Branch creation
    • "after 7am and before 9am"
  • 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 repository job log.

@renovate renovate Bot requested a review from ymehmetcan as a code owner March 13, 2025 05:35
@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented Mar 13, 2025

⚠️ No Changeset found

Latest commit: 77d0280

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@renovate renovate Bot changed the title chore(deps): update dependency lint-staged to v15.5.0 chore(deps): update dependency lint-staged to v15.5.1 Apr 11, 2025
@renovate renovate Bot force-pushed the renovate/lint-staged-15.x branch from 73dc860 to b734077 Compare April 11, 2025 23:24
@renovate renovate Bot changed the title chore(deps): update dependency lint-staged to v15.5.1 chore(deps): update dependency lint-staged to v15.5.2 May 6, 2025
@renovate renovate Bot force-pushed the renovate/lint-staged-15.x branch from b734077 to 5caa844 Compare May 6, 2025 11:00
@renovate renovate Bot force-pushed the renovate/lint-staged-15.x branch from 5caa844 to 64c3f23 Compare August 10, 2025 14:15
@renovate renovate Bot force-pushed the renovate/lint-staged-15.x branch from 64c3f23 to 77d0280 Compare February 12, 2026 14:38
@renovate renovate Bot force-pushed the renovate/lint-staged-15.x branch from 77d0280 to d503ed0 Compare March 5, 2026 21:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants