You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 :)
The text was updated successfully, but these errors were encountered:
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 :)
The text was updated successfully, but these errors were encountered: