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

Stronger autoformatting #6

Open
sparkprime opened this issue Feb 15, 2018 · 0 comments
Open

Stronger autoformatting #6

sparkprime opened this issue Feb 15, 2018 · 0 comments

Comments

@sparkprime
Copy link

Hi, I read your style guide :)

You recommend to use jsonnet fmt, which is good, but I think you want to enable more of its features:

jsonnet fmt -i -n 2 --max-blank-lines 2 --sort-imports --string-style s --comment-style s

I would like to make those options the default in future.

There is a very basic linter in go-jsonnet that can check for variables that are declared but not used. That might also be a good place to check that locals are lowerCamelCase, if anyone wants to add that :)

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