Conform our shell scripts to Google Styleguide using shfmt

XMLWordPrintable

    • Type: Task
    • Resolution: Merged
    • Priority: Should have
    • 2.38.1
    • CI/CD

      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.

      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

            Assignee:
            Community Contributor
            Reporter:
            Nikos Roussos
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: