docs(linter): Expose use-isnan rule config options.#14844
docs(linter): Expose use-isnan rule config options.#14844camc314 merged 1 commit intooxc-project:mainfrom
Conversation
So it'll now get picked up by the auto-generated documentation.
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 exposes configuration options for the use-isnan linter rule by adding JsonSchema derivation and serde annotations, enabling auto-generated documentation for the rule's enforceForSwitchCase and enforceForIndexOf configuration options.
Key Changes:
- Added JsonSchema derive macro to the
UseIsnanstruct - Added serde rename_all annotation for camelCase config keys
- Registered the config struct with the linter macro
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
CodSpeed Performance ReportMerging #14844 will not alter performanceComparing Summary
Footnotes
|
So it'll now get picked up by the auto-generated documentation. Part of #14743.
Generated docs: