Skip to content
This repository was archived by the owner on Nov 6, 2019. It is now read-only.
This repository was archived by the owner on Nov 6, 2019. It is now read-only.

Consider using shellcheck to lint .sh files #652

Open
@zcorpan

Description

@zcorpan

See https://github.com/koalaman/shellcheck

This is installed on Travis CI already, the following command runs the check on all .sh files and gives an exit code indicating success or failure:

for file in $(find path/to/scripts -type f -name "*.sh"); do shellcheck --format=gcc $file; done;

https://github.com/koalaman/shellcheck/wiki/Recursiveness

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions