-
-
Notifications
You must be signed in to change notification settings - Fork 791
fix(biome_html_parser): fix incorrect option name in HTML parser error message #7867
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
fix(biome_html_parser): fix incorrect option name in HTML parser error message #7867
Conversation
🦋 Changeset detectedLatest commit: e498d81 The changes in this PR will be included in the next version bump. This PR includes changesets to release 13 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
26c7e9e to
41b04e5
Compare
…r message The error message for disabled text expressions incorrectly referred to the `html.parser.textExpression` option, which does not exist. Update it to reference the correct `html.parser.interpolation` option. Signed-off-by: Sora Morimoto <[email protected]>
41b04e5 to
6951833
Compare
dyc3
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch, thank you!
Just fix the wording in the changeset :)
WalkthroughThis change corrects a misnamed HTML parser option reference in an error message. The Pre-merge checks and finishing touches❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✨ Finishing touches
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Signed-off-by: Sora Morimoto <[email protected]>
…r message (biomejs#7867) Signed-off-by: Sora Morimoto <[email protected]>
…r message (#7867) Signed-off-by: Sora Morimoto <[email protected]>
Summary
The HTML parser error message for disabled text expressions incorrectly referred to the non-existent
html.parser.textExpressionoption. This pull request fixes the error message to reference the correcthtml.parser.interpolationoption, which is the actual configuration option for enabling interpolation parsing in HTML files.Test Plan
Updated all related snapshot files. Existing tests will verify that the error message now displays the correct option name when users encounter text expressions with interpolation disabled.
Docs
No documentation changes required as this is a bug fix for an error message.
The corrected option name (
html.parser.interpolation) already exists in the configuration schema.