Replies: 1 comment 2 replies
-
We have a JSON schema: https://github.com/astral-sh/ruff/blob/main/ruff.schema.json. Is this what you need? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am working on a tool that gives developers a programatic interface for configuring various tools for projects they work on, but I haven't had much luck generating an interface for the Rust configuration options. It appears that Ruff does have a file containing descriptions of all the options (https://github.com/astral-sh/ruff/blob/ba6c7f6897df6d8020c6b393d1d2f51963fee2b2/crates/ruff_workspace/src/options.rs), there's a tool to build a Markdown file from those descriptions (
ruff/scripts/generate_mkdocs.py
Line 207 in a48d779
Is there any way to convert those options to a JSON Schema or something similar?
Beta Was this translation helpful? Give feedback.
All reactions