Skip to content

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented Dec 11, 2024

This PR contains the following updates:

Package Change Age Confidence
lint-staged 15.4.3 -> 15.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: 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 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 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.1 Jan 17, 2025
@renovate renovate bot force-pushed the renovate/lint-staged-15.x-lockfile branch from 337e496 to e54cd52 Compare January 17, 2025 18:56
@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 25, 2025
@renovate renovate bot force-pushed the renovate/lint-staged-15.x-lockfile branch from e54cd52 to c8478b6 Compare January 25, 2025 07:46
@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.2 - autoclosed Jan 25, 2025
@renovate renovate bot closed this Jan 25, 2025
@renovate renovate bot deleted the renovate/lint-staged-15.x-lockfile branch January 25, 2025 09:19
@renovate renovate bot changed the title chore(deps): update dependency lint-staged to v15.4.2 - autoclosed chore(deps): update dependency lint-staged to v15.4.2 Jan 27, 2025
@renovate renovate bot reopened this Jan 27, 2025
@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 27, 2025
@renovate renovate bot force-pushed the renovate/lint-staged-15.x-lockfile branch from c8478b6 to 6f4cfc5 Compare January 29, 2025 03:23
@renovate renovate bot force-pushed the renovate/lint-staged-15.x-lockfile branch from 6f4cfc5 to cbe92e7 Compare March 4, 2025 00:06
@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 9, 2025
@renovate renovate bot closed this Mar 9, 2025
@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 13, 2025
@renovate renovate bot reopened this Mar 13, 2025
@renovate renovate bot force-pushed the renovate/lint-staged-15.x-lockfile branch from 561ef42 to cbe92e7 Compare March 13, 2025 00:08
@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 13, 2025
@renovate renovate bot force-pushed the renovate/lint-staged-15.x-lockfile branch from cbe92e7 to 1811dea Compare March 14, 2025 07:52
@renovate renovate bot force-pushed the renovate/lint-staged-15.x-lockfile branch from 1811dea to 51b4ba8 Compare April 2, 2025 00:17
@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 12, 2025
@renovate renovate bot force-pushed the renovate/lint-staged-15.x-lockfile branch from 51b4ba8 to b95e74b Compare April 12, 2025 11:50
@renovate renovate bot force-pushed the renovate/lint-staged-15.x-lockfile branch from b95e74b to 5a4de27 Compare April 25, 2025 04:15
@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 10, 2025
@renovate renovate bot force-pushed the renovate/lint-staged-15.x-lockfile branch from 5a4de27 to ec6b5fb Compare May 10, 2025 07:45
@renovate renovate bot force-pushed the renovate/lint-staged-15.x-lockfile branch 2 times, most recently from c1a0047 to da84369 Compare May 31, 2025 20:09
@renovate renovate bot force-pushed the renovate/lint-staged-15.x-lockfile branch from da84369 to 4fccd43 Compare June 6, 2025 17:58
@renovate renovate bot force-pushed the renovate/lint-staged-15.x-lockfile branch 2 times, most recently from 46070cd to c63177c Compare August 15, 2025 23:07
@renovate renovate bot force-pushed the renovate/lint-staged-15.x-lockfile branch from c63177c to b8d5ba3 Compare August 23, 2025 23:44
@renovate renovate bot force-pushed the renovate/lint-staged-15.x-lockfile branch from b8d5ba3 to 48c0c2c Compare September 1, 2025 10:30
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.

0 participants