You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
currently, the website is missing almost all of the configuration options for lint rules generally, unless we remembered to include this in the description.
Since most lint rules have a configuration struct specific to the rule, and a struct field for each option, maybe we could auto-generate these?
The text was updated successfully, but these errors were encountered:
Do you mean auto generating the doc comments for the option configuration by parsing the configuration struct for each rule? Or could we be using the test cases to generate the options docs?
@therewillbecode I'm not completely sure on this one yet, I don't think it's clear to me. I think something that like allowing annotations on a config struct, or perhaps a trait that can be implemented like:
Maybe there is a good way to use macros for this, but I'm not much of a macro expert. Or else we could use serde directly maybe? If anyone else has ideas on this, I'd be interested.
currently, the website is missing almost all of the configuration options for lint rules generally, unless we remembered to include this in the description.
Since most lint rules have a configuration struct specific to the rule, and a struct field for each option, maybe we could auto-generate these?
The text was updated successfully, but these errors were encountered: