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

Need "lint" functionality for jsonnet / lib sonnet config files #531

Open
StevenCTimm opened this issue Oct 4, 2021 · 1 comment
Open

Comments

@StevenCTimm
Copy link

Need a syntax checker for jsonnet /libsonnet configuration files.
Ideally available both in text editors and as a hook when said files are committed to git.

@StevenCTimm
Copy link
Author

Pat mentions that jsonnetfmt utility will alert on outright syntax errors.
It's available in EPEL as part of the "Jsonnet" rpm. Works from the command line but not
in vim or emacs.
How I hook that into the gitlab config repo is another thing altogether.
And it doesn't cover the cases of wrong parameter names, etc.

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

No branches or pull requests

1 participant