Closed GTrunSec closed 3 years ago
Also, we should have a default format for shell script, such as shfmt, beautysh.
Yes, tha would be a good thing. Do you have an idea how to.implement it on top of the script writers? Script writers seem to live a shadow existence in nixpkgs and probably nobody has thought about adding checks, yet?
Or do you mean rather something like a git pre-commit hook? That would be neat, too.
Also, we should have a default format for shell script, such as shfmt, beautysh.
Fixes:
/src/bud/scripts/hm-home.bash:24:82: "expr" must be followed by ;