Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Jan 23, 2025

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
lint-staged ^15.4.1 -> ^15.5.2 age adoption passing 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

v15.4.3

Compare Source

Patch Changes
  • #​1512 cbfed1d Thanks @​tarik02! - Adjust TypeScript types for the default export so that it can be used as a value without error TS2693.

v15.4.2

Compare Source

Patch Changes
  • #​1509 8827ebf Thanks @​iiroj! - Change lint-staged's dependencies to use caret (^) ranges instead of tilde (~). This makes it easier for package managers to perform dependency management when minor-level updates are also permitted instead of just patch-level.

Configuration

📅 Schedule: Branch creation - "" in timezone America/Los_Angeles, 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 changed the title build(lint-staged): update dependency lint-staged from 15.4.1 to 15.4.2 build(lint-staged): update dependency lint-staged from 15.4.1 to 15.4.3 Jan 26, 2025
@renovate renovate bot force-pushed the renovate/lint-staged-15.x branch from 2528a7c to 907033b Compare January 26, 2025 16:35
@renovate renovate bot changed the title build(lint-staged): update dependency lint-staged from 15.4.1 to 15.4.3 build(lint-staged): update dependency lint-staged from 15.4.1 to 15.5.0 Mar 12, 2025
@renovate renovate bot force-pushed the renovate/lint-staged-15.x branch from 907033b to 85e5c6e Compare March 12, 2025 16:25
@renovate renovate bot changed the title build(lint-staged): update dependency lint-staged from 15.4.1 to 15.5.0 build(lint-staged): update dependency lint-staged from 15.4.1 to 15.5.1 Apr 11, 2025
@renovate renovate bot force-pushed the renovate/lint-staged-15.x branch from 85e5c6e to b0fc787 Compare April 11, 2025 19:54
| datasource | package     | from   | to     |
| ---------- | ----------- | ------ | ------ |
| npm        | lint-staged | 15.4.1 | 15.5.2 |
@renovate renovate bot changed the title build(lint-staged): update dependency lint-staged from 15.4.1 to 15.5.1 build(lint-staged): update dependency lint-staged from 15.4.1 to 15.5.2 May 6, 2025
@renovate renovate bot force-pushed the renovate/lint-staged-15.x branch from b0fc787 to 1fba8f9 Compare May 6, 2025 11:12
@dschach dschach merged commit 4e4d450 into main Jun 11, 2025
2 checks passed
@dschach dschach deleted the renovate/lint-staged-15.x branch June 11, 2025 22:27
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.

2 participants