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

lychee.toml JSON schema #1382

Open
o-az opened this issue Feb 23, 2024 · 3 comments
Open

lychee.toml JSON schema #1382

o-az opened this issue Feb 23, 2024 · 3 comments
Labels
docs Improvements or additions to documentation enhancement New feature or request

Comments

@o-az
Copy link

o-az commented Feb 23, 2024

Is there a schema for the lychee.toml config file? I pass config schemas for toml config files to get autocomplete using taplo https://taplo.tamasfe.dev/configuration/directives.html#the-schema-directive

@mre
Copy link
Member

mre commented Feb 23, 2024

There is not, and I didn't know that was a thing, but I'd be thankful for a pull request to add one.

@o-az
Copy link
Author

o-az commented Feb 23, 2024

There is not, and I didn't know that was a thing, but I'd be thankful for a pull request to add one.

I'll happily contribute. Is there an example config file that uses all fields possible?

@mre
Copy link
Member

mre commented Feb 23, 2024

Hm, the most complete one is probably https://github.com/lycheeverse/lychee/blob/master/fixtures/configs/smoketest.toml.
Would that work?
Alternatively, all the options are here:

pub(crate) struct Config {

@thomas-zahner thomas-zahner added enhancement New feature or request docs Improvements or additions to documentation labels Mar 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Improvements or additions to documentation enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants