| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
|
Alternatively, we can restrict the check to the as $var syntax that yq and jq have for variable declaration. That is a more substantial change, but it would provide a more targeted check. Here is a very WIP prototype of what this might look like: gkrimer#1 Unfortunately gkrimer#1 was generated by Claude, and I don't really know Haskell so I'd need to spend quite a bit more time on it to understand and validate. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Teach https://www.shellcheck.net/wiki/SC2016 about yq, which also has $var in expressions like jq:
This applies to both mikefarah/yq and kislyuk/yq (a jq wrapper). As with jq, the trade-off is missing '.x = "$VAR"' mistakes.
Written by Claude on behalf of @gkrimer.