Skip to content
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

[deps]: Update lint-staged to v15.4.1 #695

Merged
merged 1 commit into from
Jan 17, 2025
Merged

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Dec 23, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
lint-staged 15.2.10 -> 15.4.1 age adoption passing confidence

Release Notes

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

v15.4.1

Compare Source

Patch Changes

v15.4.0

Compare Source

Minor Changes
  • #​1500 a8ec1dd Thanks @​iiroj! - Lint-staged now provides TypeScript types for the configuration and main Node.js API. You can use the JSDoc syntax in your JS configuration files:

    /**
     * @​filename: lint-staged.config.js
     * @​type {import('lint-staged').Configuration}
     */
    export default {
      '*': 'prettier --write',
    }

    It's also possible to use the .ts file extension for the configuration if your Node.js version supports it. The --experimental-strip-types flag was introduced in Node.js v22.6.0 and unflagged in v23.6.0, enabling Node.js to execute TypeScript files without additional configuration.

    export NODE_OPTIONS="--experimental-strip-types"
    
    npx lint-staged --config lint-staged.config.ts
Patch Changes

v15.3.0

Compare Source

Minor Changes
  • #​1495 e69da9e Thanks @​iiroj! - Added more info to the debug logs so that "environment" info doesn't need to be added separately to GitHub issues.

  • #​1493 fa0fe98 Thanks @​iiroj! - Added more help messages around the automatic git stash that lint-staged creates as a backup (by default). The console output also displays the short git hash of the stash so that it's easier to recover lost files in case some fatal errors are encountered, or the process is killed before completing.

    For example:

    % npx lint-staged
    ✔ Backed up original state in git stash (20addf8)
    ✔ Running tasks for staged files...
    ✔ Applying modifications from tasks...
    ✔ Cleaning up temporary files...
    

    where the backup can be seen with git show 20addf8, or git stash list:

    % git stash list
    stash@{0}: lint-staged automatic backup (20addf8)
    

v15.2.11

Compare Source

Patch Changes
  • #​1484 bcfe309 Thanks @​wormsik! - Escape paths containing spaces when using the "shell" option.

  • #​1487 7dd8caa Thanks @​iiroj! - Do not treat submodule root paths as "staged files". This caused lint-staged to fail to a Git error when only updating the revision of a submodule.


Configuration

📅 Schedule: Branch creation - "every 2nd week starting on the 2 week of the year before 4am on Monday" (UTC), 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 a team as a code owner December 23, 2024 02:42
@renovate renovate bot requested a review from eliykat December 23, 2024 02:42
@bitwarden-bot bitwarden-bot changed the title [deps]: Update lint-staged to v15.2.11 [PM-16409] [deps]: Update lint-staged to v15.2.11 Dec 23, 2024
@bitwarden-bot
Copy link

Internal tracking:

Copy link

codecov bot commented Dec 23, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 2.23%. Comparing base (e8579f1) to head (634f83a).
Report is 1 commits behind head on main.

✅ All tests successful. No failed tests found.

❗ There is a different number of reports uploaded between BASE (e8579f1) and HEAD (634f83a). Click for more details.

HEAD has 1 upload less than BASE
Flag BASE (e8579f1) HEAD (634f83a)
2 1
Additional details and impacted files
@@           Coverage Diff            @@
##            main    #695      +/-   ##
========================================
- Coverage   8.50%   2.23%   -6.27%     
========================================
  Files         60      60              
  Lines       2634    2634              
  Branches     467     467              
========================================
- Hits         224      59     -165     
- Misses      2392    2572     +180     
+ Partials      18       3      -15     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@renovate renovate bot changed the title [PM-16409] [deps]: Update lint-staged to v15.2.11 [deps]: Update lint-staged to v15.2.11 Dec 23, 2024
@renovate renovate bot changed the title [deps]: Update lint-staged to v15.2.11 [deps]: Update lint-staged to v15.3.0 Dec 28, 2024
@renovate renovate bot force-pushed the renovate/lint-staged-15.x branch from fedae43 to 6af5d8e Compare December 28, 2024 11:03
@renovate renovate bot changed the title [deps]: Update lint-staged to v15.3.0 [deps]: Update lint-staged to v15.4.0 Jan 16, 2025
@renovate renovate bot force-pushed the renovate/lint-staged-15.x branch from 6af5d8e to d47180e Compare January 16, 2025 07:16
@renovate renovate bot changed the title [deps]: Update lint-staged to v15.4.0 [deps]: Update lint-staged to v15.4.1 Jan 16, 2025
@renovate renovate bot force-pushed the renovate/lint-staged-15.x branch from d47180e to 634f83a Compare January 16, 2025 18:32
@eliykat eliykat merged commit 6ebc963 into main Jan 17, 2025
20 of 21 checks passed
@eliykat eliykat deleted the renovate/lint-staged-15.x branch January 17, 2025 00:44
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