jsonnet-style-guide
jsonnet-style-guide copied to clipboard
Stronger autoformatting
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 :)