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

Bump lint-staged from 15.3.0 to 15.4.1 #849

Merged
merged 1 commit into from
Jan 20, 2025

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 20, 2025

Bumps lint-staged from 15.3.0 to 15.4.1.

Release notes

Sourced from lint-staged's releases.

v15.4.1

Patch Changes

v15.4.0

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

Changelog

Sourced from lint-staged's changelog.

15.4.1

Patch Changes

15.4.0

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

Commits
  • 1c93c9e chore(changeset): release (#1505)
  • c020664 Merge pull request #1504 from lint-staged/fix-typescript
  • 1c7a45e fix: default TypeScript config filenames match JS equivalents
  • 9cc18c9 fix: add missing conditional export for TypeScript types
  • 7ff1e58 chore(changeset): release (#1502)
  • b881830 docs: adjust README regarding TypeScript
  • 41c9fee docs: sync changelog and README regarding TypeScript
  • 6de7529 Merge pull request #1500 from lint-staged/typescript-types
  • 012916e feat: enable loading configuration from TS files (if Node.js supports importi...
  • e95d5cd feat: add TypeScript types for the main lint-staged Node.js API
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Summary by Sourcery

Build:

  • Bump lint-staged from 15.3.0 to 15.4.1.

Bumps [lint-staged](https://github.com/lint-staged/lint-staged) from 15.3.0 to 15.4.1.
- [Release notes](https://github.com/lint-staged/lint-staged/releases)
- [Changelog](https://github.com/lint-staged/lint-staged/blob/master/CHANGELOG.md)
- [Commits](lint-staged/lint-staged@v15.3.0...v15.4.1)

---
updated-dependencies:
- dependency-name: lint-staged
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added _bot [BOT only] Issue or PR made by a bot. dependencies Dependency updates and their version upgrades. labels Jan 20, 2025
Copy link

sourcery-ai bot commented Jan 20, 2025

Reviewer's Guide by Sourcery

This pull request bumps the lint-staged dependency from version 15.3.0 to 15.4.1. This update includes TypeScript type definitions for the configuration and main Node.js API, and also fixes an issue where default TypeScript config filenames did not match JS equivalents.

No diagrams generated as the changes look simple and do not need a visual representation.

File-Level Changes

Change Details Files
Bumped the lint-staged dependency.
  • Updated lint-staged version from 15.3.0 to 15.4.1 in package.json.
  • Updated lint-staged version in package-lock.json.
package.json
package-lock.json

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time. You can also use
    this command to specify where the summary should be inserted.

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

Copy link

netlify bot commented Jan 20, 2025

Deploy Preview for neurobagel-annotator ready!

Name Link
🔨 Latest commit 4587269
🔍 Latest deploy log https://app.netlify.com/sites/neurobagel-annotator/deploys/678e50cff9d89c0008039f7e
😎 Deploy Preview https://deploy-preview-849--neurobagel-annotator.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

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

@rmanaem rmanaem self-requested a review January 20, 2025 15:54
Copy link
Contributor

@rmanaem rmanaem left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🧑‍🍳

@rmanaem rmanaem merged commit 9f04d93 into main Jan 20, 2025
12 checks passed
@rmanaem rmanaem deleted the dependabot/npm_and_yarn/lint-staged-15.4.1 branch January 20, 2025 15:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
_bot [BOT only] Issue or PR made by a bot. dependencies Dependency updates and their version upgrades.
Projects
Status: Review - Done
Development

Successfully merging this pull request may close these issues.

1 participant