docs(linter): Update no-invalid-regexp rule to expose documentation for config options#14838
Conversation
…or config options.
How to use the Graphite Merge QueueAdd either label to this PR to merge it via the merge queue:
You must have a Graphite account in order to use the merge queue. Sign up using this link. An organization admin has enabled the Graphite Merge Queue in this repository. Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue. |
There was a problem hiding this comment.
Pull Request Overview
This PR updates the no-invalid-regexp rule to expose its configuration options in the generated documentation by adding JSON schema support. This allows users to see documentation for the allowConstructorFlags configuration option, including its type, default value, and description.
Key changes:
- Added
JsonSchemaderive macro to enable schema generation for the configuration struct - Added
configparameter to the rule declaration to link the configuration struct - Updated field documentation to provide clearer description in generated docs
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
CodSpeed Performance ReportMerging #14838 will not alter performanceComparing Summary
Footnotes
|
Results in the following generated docs:
Part of #14743.