For consistency we can follow Google Shell Script Styleguide in all of our shell scripts. This is mainly for planet4-builder and planet4-circleci repositories, that hold most of our scripts.
Objectives of task:
To enforce that we can use shfmt to adjust our current scripts but also lint future changes and additions.
Tasks
Run shfmt to all of our scripts at these two folders: builder and circleci.
Expand our lint job to use shfmt along with shellcheck
Brief summary of task:
For consistency we can follow Google Shell Script Styleguide in all of our shell scripts. This is mainly for planet4-builder and planet4-circleci repositories, that hold most of our scripts.
Objectives of task:
To enforce that we can use shfmt to adjust our current scripts but also lint future changes and additions.
Tasks