Skip to content

Bump the lint group across 1 directory with 3 updates #2608

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

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github May 19, 2025

Bumps the lint group with 3 updates in the / directory: lint-staged, markdownlint-cli and stylelint.

Updates lint-staged from 15.5.0 to 16.0.0

Release notes

Sourced from lint-staged's releases.

v16.0.0

Major Changes

  • #1546 158d15c Thanks @​iiroj! - Processes are spawned using nano-spawn instead of execa. If you are using Node.js scripts as tasks, you might need to explicitly run them with node, especially when using Windows:

    {
      "*.js": "node my-js-linter.js"
    }
  • #1546 158d15c Thanks @​iiroj! - The --shell flag has been removed and lint-staged no longer supports evaluating commands directly via a shell. To migrate existing commands, you can create a shell script and invoke it instead. Lint-staged will pass matched staged files as a list of arguments, accessible via "$@":

    # my-script.sh
    #!/bin/bash
    echo "Staged files: $@"

    and

    { "*.js": "my-script.sh" }

    If you were using the shell option to avoid passing filenames to tasks, for example bash -c 'tsc --noEmit', use the function syntax instead:

    export default { '*.ts': () => 'tsc --noEmit' }
  • #1546 158d15c Thanks @​iiroj! - Validation for deprecated advanced configuration has been removed. The advanced configuration was removed in lint-staged version 9 and until now validation has failed if advanced configuration options were detected. Going forward the entire configuration will be treated with the same logic and if these advanced options are still present, they might be treated as valid globs for staged files instead.

  • #1546 158d15c Thanks @​iiroj! - The lowest supported Node.js version is 20.18. Please upgrade your Node.js version.

Minor Changes

  • #1401 27110ef Thanks @​RohitLuthra19! - Added support for directly running functions on staged files. To configure a function task, use an object with a title and the task itself:

    export default {
      '*.js': {
        title: 'My task',
        task: async (files) => {
          console.log('Staged JS files:', files)
        },
      },
    }

... (truncated)

Changelog

Sourced from lint-staged's changelog.

16.0.0

Major Changes

  • #1546 158d15c Thanks @​iiroj! - Processes are spawned using nano-spawn instead of execa. If you are using Node.js scripts as tasks, you might need to explicitly run them with node, especially when using Windows:

    {
      "*.js": "node my-js-linter.js"
    }
  • #1546 158d15c Thanks @​iiroj! - The --shell flag has been removed and lint-staged no longer supports evaluating commands directly via a shell. To migrate existing commands, you can create a shell script and invoke it instead. Lint-staged will pass matched staged files as a list of arguments, accessible via "$@":

    # my-script.sh
    #!/bin/bash
    echo "Staged files: $@"

    and

    { "*.js": "my-script.sh" }

    If you were using the shell option to avoid passing filenames to tasks, for example bash -c 'tsc --noEmit', use the function syntax instead:

    export default { '*.ts': () => 'tsc --noEmit' }
  • #1546 158d15c Thanks @​iiroj! - Validation for deprecated advanced configuration has been removed. The advanced configuration was removed in lint-staged version 9 and until now validation has failed if advanced configuration options were detected. Going forward the entire configuration will be treated with the same logic and if these advanced options are still present, they might be treated as valid globs for staged files instead.

  • #1546 158d15c Thanks @​iiroj! - The lowest supported Node.js version is 20.18. Please upgrade your Node.js version.

Minor Changes

  • #1401 27110ef Thanks @​RohitLuthra19! - Added support for directly running functions on staged files. To configure a function task, use an object with a title and the task itself:

    export default {
      '*.js': {
        title: 'My task',
        task: async (files) => {
          console.log('Staged JS files:', files)
        },
      },
    }

... (truncated)

Commits
  • dad5490 chore(changeset): release
  • 1c19e82 build(deps): update dependencies and require Node.js 20.18
  • 08cf8f5 docs: update README.md and bump nano-spawn as major change
  • 276dcc8 refactor: simplify config validation
  • d4b7cac test: update tests
  • 0ee9ab8 fix: update TypeScript type definitions
  • 12525b2 refactor: rename functions
  • 541c353 refactor: separate "make cmd tasks" and "make function tasks"
  • 27110ef feat: added support for custom configuration
  • 52366f9 ci: update Node.js versions used in CI
  • Additional commits viewable in compare view

Updates markdownlint-cli from 0.44.0 to 0.45.0

Release notes

Sourced from markdownlint-cli's releases.

v0.45.0

  • Update markdownlint dependency to 0.38.0
    • Add MD059/descriptive-link-text
    • Improve MD025/MD027/MD036/MD038/MD041/MD043/MD045/MD051/MD052
    • Remove support for end-of-life Node version 18
  • Update all dependencies via Dependabot
Commits
  • 192ad82 Bump version 0.45.0
  • f6225d2 Bump nano-spawn from 0.2.0 to 1.0.1
  • 1b8554a Add released Node version 24 to CI workflow.
  • 836379f Remove optional constant fs.R_OK
  • 1a19ddb Bump minimatch from 9.0.5 to 10.0.1
  • 5033e1e Pass newly-required markdownItFactory option to markdownlint.
  • b7e47f8 Bump markdownlint from 0.37.4 to 0.38.0
  • c3fa9f5 Bump glob from 10.4.5 to 11.0.2
  • b983f61 Remove support for end-of-life Node.js version 18.
  • 8878ef0 Bump ignore from 7.0.3 to 7.0.4
  • Additional commits viewable in compare view

Updates stylelint from 16.18.0 to 16.19.1

Release notes

Sourced from stylelint's releases.

16.19.1

16.19.0

It adds 2 options to 2 rules and fixes 3 bugs.

  • Added: exceptWithoutPropertyFallback: [] to function-allowed-list (#8488) (@​ryo-manba).
  • Added: ignore: ["four-into-three-edge-values"] to shorthand-property-no-redundant-values (#8527) (@​ryo-manba).
  • Fixed: compact formatter with pnpm to newline the exit code (#8534) (@​konomae).
  • Fixed: declaration-property-value-no-unknown range and message for invalid syntax within known functions (#8528) (@​ryo-manba).
  • Fixed: no-empty-source false positives for --report-needless-disables (#8536) (@​romainmenke).
Changelog

Sourced from stylelint's changelog.

16.19.1 - 2025-04-25

16.19.0 - 2025-04-23

It adds 2 options to 2 rules and fixes 3 bugs.

  • Added: exceptWithoutPropertyFallback: [] to function-allowed-list (#8488) (@​ryo-manba).
  • Added: ignore: ["four-into-three-edge-values"] to shorthand-property-no-redundant-values (#8527) (@​ryo-manba).
  • Fixed: compact formatter with pnpm to newline the exit code (#8534) (@​konomae).
  • Fixed: declaration-property-value-no-unknown range and message for invalid syntax within known functions (#8528) (@​ryo-manba).
  • Fixed: no-empty-source false positives for --report-needless-disables (#8536) (@​romainmenke).
Commits

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 <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

Bumps the lint group with 3 updates in the / directory: [lint-staged](https://github.com/lint-staged/lint-staged), [markdownlint-cli](https://github.com/igorshubovych/markdownlint-cli) and [stylelint](https://github.com/stylelint/stylelint).


Updates `lint-staged` from 15.5.0 to 16.0.0
- [Release notes](https://github.com/lint-staged/lint-staged/releases)
- [Changelog](https://github.com/lint-staged/lint-staged/blob/main/CHANGELOG.md)
- [Commits](lint-staged/lint-staged@v15.5.0...v16.0.0)

Updates `markdownlint-cli` from 0.44.0 to 0.45.0
- [Release notes](https://github.com/igorshubovych/markdownlint-cli/releases)
- [Commits](igorshubovych/markdownlint-cli@v0.44.0...v0.45.0)

Updates `stylelint` from 16.18.0 to 16.19.1
- [Release notes](https://github.com/stylelint/stylelint/releases)
- [Changelog](https://github.com/stylelint/stylelint/blob/main/CHANGELOG.md)
- [Commits](stylelint/stylelint@16.18.0...16.19.1)

---
updated-dependencies:
- dependency-name: lint-staged
  dependency-version: 16.0.0
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: lint
- dependency-name: markdownlint-cli
  dependency-version: 0.45.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: lint
- dependency-name: stylelint
  dependency-version: 16.19.1
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: lint
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels May 19, 2025
Copy link

netlify bot commented May 19, 2025

Deploy Preview for relational-playground canceled.

Name Link
🔨 Latest commit a5f1838
🔍 Latest deploy log https://app.netlify.com/projects/relational-playground/deploys/682b05b585bbf900081930f1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants