[oxlint] automated docs for rule configurations #12058
mesqueeb
started this conversation in
Feature Request
Replies: 1 comment
-
To have the configuration added to the docs like this https://oxc.rs/docs/guide/usage/linter/rules/eslint/func-style.html#configuration, the config needs to be supplied to the I know of at least 2 problems with this approach right now.
In any case, I'll look into what I can add here. I expect most of them should be able to use this approach or easily modified to use it. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
There's many rules that miss documentation on each of the possible configurations.
I made a manual fix for one here:
https://github.com/oxc-project/oxc/pull/12019/files
But I'm struggling understanding all the configurations possible for eg. this one:
oxc/crates/oxc_linter/src/rules/typescript/explicit_function_return_type.rs
Line 113 in a257d97
never having learned rust : P
Isn't there an automated way that we can show all the possible configurations per rule based on the automated tests for each rule configuration?
Beta Was this translation helpful? Give feedback.
All reactions