Skip to content

chore(deps): update dependency lint-staged to v15.5.1 #10971

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Mar 19, 2025

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
lint-staged 15.4.3 -> 15.5.1 age adoption passing confidence

Release Notes

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

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 added dependencies Issue about dependencies of the package javascript Pull requests that update Javascript code labels Mar 19, 2025
@typescript-eslint
Copy link
Contributor

Thanks for the PR, @renovate[bot]!

typescript-eslint is a 100% community driven project, and we are incredibly grateful that you are contributing to that community.

The core maintainers work on this in their personal time, so please understand that it may not be possible for them to review your work immediately.

Thanks again!


🙏 Please, if you or your company is finding typescript-eslint valuable, help us sustain the project by sponsoring it transparently on https://opencollective.com/typescript-eslint.

Copy link

netlify bot commented Mar 19, 2025

Deploy Preview for typescript-eslint ready!

Name Link
🔨 Latest commit 52ed993
🔍 Latest deploy log https://app.netlify.com/sites/typescript-eslint/deploys/68112ea275a9dc00088586c3
😎 Deploy Preview https://deploy-preview-10971--typescript-eslint.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 99 (🟢 up 1 from production)
Accessibility: 100 (no change from production)
Best Practices: 100 (no change from production)
SEO: 98 (no change from production)
PWA: 80 (no change from production)
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

nx-cloud bot commented Mar 19, 2025

View your CI Pipeline Execution ↗ for commit 52ed993.

Command Status Duration Result
nx test ast-spec ❌ Failed 9s View ↗
nx test eslint-plugin --coverage=false ✅ Succeeded 4m 59s View ↗
nx run-many --target=lint --exclude eslint-plugin ✅ Succeeded 1m 22s View ↗
nx run-many --target=clean ✅ Succeeded 12s View ↗
nx test visitor-keys ✅ Succeeded 3s View ↗
nx test typescript-eslint ✅ Succeeded 4s View ↗
nx test rule-tester ✅ Succeeded 4s View ↗
nx run-many --target=build --parallel --exclude... ✅ Succeeded 1s View ↗
Additional runs (9) ✅ Succeeded ... View ↗

☁️ Nx Cloud last updated this comment at 2025-04-29 20:07:46 UTC

Copy link

nx-cloud bot commented Mar 19, 2025

View your CI Pipeline Execution ↗ for commit 61b448f.


☁️ Nx Cloud last updated this comment at 2025-03-19 18:47:39 UTC

@renovate renovate bot force-pushed the renovate/lint-staged-15.x-lockfile branch 3 times, most recently from a707ee5 to 8fd3cd5 Compare April 7, 2025 13:22
@renovate renovate bot force-pushed the renovate/lint-staged-15.x-lockfile branch 6 times, most recently from add0fdf to fae3a51 Compare April 11, 2025 20:00
@renovate renovate bot force-pushed the renovate/lint-staged-15.x-lockfile branch from fae3a51 to 3062a29 Compare April 18, 2025 20:02
@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 18, 2025
@renovate renovate bot force-pushed the renovate/lint-staged-15.x-lockfile branch 3 times, most recently from 205d34b to bd062b8 Compare April 28, 2025 20:22
@renovate renovate bot force-pushed the renovate/lint-staged-15.x-lockfile branch from bd062b8 to 52ed993 Compare April 29, 2025 19:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Issue about dependencies of the package javascript Pull requests that update Javascript code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants