Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] Generate and publish JSON Schema for Clippy Config #13868

Open
JP-Ellis opened this issue Dec 23, 2024 · 0 comments
Open

[Feature] Generate and publish JSON Schema for Clippy Config #13868

JP-Ellis opened this issue Dec 23, 2024 · 0 comments

Comments

@JP-Ellis
Copy link

It would be really nice to create and publish a JSON schema for the Clippy configuration file. By having a schema definition, a number of editors will automatically provide a much nicer developer experience by validating the configuration and providing little perks like auto-completion.

There are already a few Rust-related schemas published on the JSON Schema Store:

and for other examples of TOML files being published:

  • pyproject: for Python projects
  • ruff: a Python linter/formatter written in Rust
  • uv: a Python package and version manager written in Rust

I think it might be possible to look at how ruff and uv have implemented this and adapt it to Clippy.

If that's something you want to go ahead with, I might be able to have a look into creating a PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant