xref: /curl/.github/scripts/shellcheck.sh (revision 8a622baf)
1#!/bin/sh
2# Copyright (C) Viktor Szakats
3#
4# SPDX-License-Identifier: curl
5
6shellcheck --version
7# shellcheck disable=SC2046
8shellcheck --exclude=1091 \
9  --enable=avoid-nullary-conditions,deprecate-which \
10  $(grep -l -E '^#!(/usr/bin/env bash|/bin/sh|/bin/bash)' $(git ls-files))
11