Skip to content

JavaScript: Use tinyglobby and picomatch#843

Merged
marcoroth merged 1 commit into
mainfrom
tinyglobby-picomatch
Dec 29, 2025
Merged

JavaScript: Use tinyglobby and picomatch#843
marcoroth merged 1 commit into
mainfrom
tinyglobby-picomatch

Conversation

@marcoroth

Copy link
Copy Markdown
Owner

This pull request migrates the use of glob to tinyglobby and minimatch to picomatch in all JavaScript packages.

Bumps
[@types/vscode](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/vscode)
from 1.106.0 to 1.107.0.

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
@pkg-pr-new

pkg-pr-new Bot commented Dec 29, 2025

Copy link
Copy Markdown
npx https://pkg.pr.new/@herb-tools/formatter@843
npx https://pkg.pr.new/@herb-tools/language-server@843
npx https://pkg.pr.new/@herb-tools/linter@843

commit: 545b0c8

@github-actions

github-actions Bot commented Dec 29, 2025

Copy link
Copy Markdown

🌿 Interactive Playground and Documentation Preview

A preview deployment has been built for this pull request. Try out the changes live in the interactive playground:


🌱 Grown from commit 545b0c8


✅ Preview deployment has been cleaned up.

@marcoroth marcoroth merged commit 67c07f4 into main Dec 29, 2025
20 checks passed
@marcoroth marcoroth deleted the tinyglobby-picomatch branch December 29, 2025 21:23
marcoroth added a commit that referenced this pull request Jan 16, 2026
This pul request fixes an issue introduced by the `tinyglobby` migration
in #843.

The linter CLI incorrectly processed files outside the specified
directory when running commands like `herb-lint app/views`.

This was caused by the glob pattern construction producing
`app/views/{**/*.html,**/*.html.erb}` which `tinyglobby` doesn't
support.

The fix now correctly produces
`{app/views/**/*.html,app/views/**/*.html.erb}` by prepending the
directory path to each pattern individually before joining them.

Additionally migrates the custom rule loader from the old `glob` package
to `tinyglobby` for consistency.

Resolves #1045
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.

1 participant