Actions
action #92146
openAutomatically validate indentation in shellscripts
Start date:
2021-05-05
Due date:
% Done:
0%
Estimated time:
Description
Motivation¶
It would be great to have automated checks for more style aspects to shellscript code such as indentation
Acceptance criteria¶
- AC1: Indentation in shellscripts is checked automatically
Acceptance tests¶
- AT1: Inconsistent indentation in shellscripts prevents deployments
Suggestions¶
- Investigate if shellcheck can verify indentation or could to be extended to add the feature
- Try shfmt https://github.com/mvdan/sh
Actions