Skip to content

Language Server: Respect .herb.yml files.exclude in LintService#1271

Merged
marcoroth merged 1 commit intomainfrom
lsp-fix-lint-config
Mar 2, 2026
Merged

Language Server: Respect .herb.yml files.exclude in LintService#1271
marcoroth merged 1 commit intomainfrom
lsp-fix-lint-config

Conversation

@marcoroth
Copy link
Owner

@marcoroth marcoroth commented Mar 2, 2026

This pull request adds a matching shouldLintFile() check that respects files.exclude, linter.exclude, and default exclude patterns (like vendor/**/*, node_modules/**/*) before linting a document in the language server.

Resolves #1179

@pkg-pr-new
Copy link

pkg-pr-new bot commented Mar 2, 2026

npx https://pkg.pr.new/@herb-tools/formatter@1271
npx https://pkg.pr.new/@herb-tools/language-server@1271
npx https://pkg.pr.new/@herb-tools/linter@1271

commit: 2a4a436

@github-actions
Copy link

github-actions bot commented Mar 2, 2026

🌿 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 2a4a436


✅ Preview deployment has been cleaned up.

@marcoroth marcoroth merged commit 5a81cd1 into main Mar 2, 2026
20 checks passed
@marcoroth marcoroth deleted the lsp-fix-lint-config branch March 2, 2026 20:02
@marcoroth marcoroth added this to the v1.0.0 milestone Mar 2, 2026
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.

VSCode: files.exclude not respected

1 participant