Skip to content
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

refactor(biome_analyze): expose RuleMetadata via RuleContext #2821

Conversation

dyc3
Copy link
Contributor

@dyc3 dyc3 commented May 12, 2024

Summary

This makes the Rule's metadata available via RuleContext, as an alternative, more discoverable way to get the rule's metadata.

closes #2798

Test Plan

It compiles.

@github-actions github-actions bot added the A-Linter Area: linter label May 12, 2024
Copy link

codspeed-hq bot commented May 12, 2024

CodSpeed Performance Report

Merging #2821 will not alter performance

Comparing dyc3:05-12-refactor_biome_analyze_expose_rulemetadata_via_rulecontext_ (310c891) with main (7283b03)

Summary

✅ 99 untouched benchmarks

@dyc3 dyc3 force-pushed the 05-12-refactor_biome_analyze_expose_rulemetadata_via_rulecontext_ branch 2 times, most recently from 4fb026a to 344bac4 Compare May 14, 2024 17:09
@dyc3 dyc3 force-pushed the 05-12-refactor_biome_analyze_expose_rulemetadata_via_rulecontext_ branch from 344bac4 to 310c891 Compare May 15, 2024 15:18
@ematipico ematipico merged commit d9e1873 into biomejs:main May 15, 2024
12 checks passed
@dyc3 dyc3 deleted the 05-12-refactor_biome_analyze_expose_rulemetadata_via_rulecontext_ branch May 16, 2024 11:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Linter Area: linter
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Expose metadata inside the lint rule
2 participants