Skip to content

feat(getJsdocProcessorPlugin): add allowedLanguagesToProcess option #1392

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

Merged
merged 3 commits into from
Jun 1, 2025

Conversation

brettz9
Copy link
Collaborator

@brettz9 brettz9 commented Jun 1, 2025

No description provided.

@brettz9 brettz9 requested a review from Copilot June 1, 2025 04:23
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR introduces a new configuration option, allowedLanguagesToProcess, to the getJsdocProcessorPlugin for filtering which fenced block languages are processed. It updates the tests to verify behavior when languages are or aren’t allowed, modifies the core plugin to incorporate the new option, and updates the documentation accordingly.

Reviewed Changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 2 comments.

File Description
test/getJsdocProcessPlugin.js Adds tests to verify behavior when the language isn’t included in the allowed options
src/getJsdocProcessorPlugin.js Adds allowedLanguagesToProcess default and conditionally skips processing for unmatched languages
docs/processors.md Updates documentation with the new allowedLanguagesToProcess option information
.README/processors.md Updates README documentation to include details of allowedLanguagesToProcess

@brettz9 brettz9 merged commit 0adbf43 into gajus:main Jun 1, 2025
5 checks passed
Copy link

github-actions bot commented Jun 1, 2025

🎉 This PR is included in version 50.7.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@brettz9 brettz9 deleted the allowLanguagesToProcess branch June 1, 2025 04:33
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