Uploaded image for project: 'Planet4'
  1. Planet4
  2. PLANET-5322

Conform our shell scripts to Google Styleguide using shfmt

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Merged
    • Icon: Should have 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

            contributor Community Contributor (Inactive)
            nroussos Nikos Roussos
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: