4d5a56a1fb
Since we'd like to avoid trailing whitespace in our codebase, help developers catch issues by checking for trailing whitespace during CI. Exclude the vendor directory, as we don't want to change vendored code, and exclude any git objects or indices we store in the repository, since they're binary zlib-compressed data. Exclude batch files as well, since they contain carriage returns, which are considered non-linefeed whitespace on Unix. Note that we use git grep -E, since not all versions of git grep are compiled with PCRE for the -P option. Fortunately, POSIX provides a character class that matches all whitespace. |
||
---|---|---|
.. | ||
windows-installer | ||
backport-pr | ||
changelog | ||
cibuild | ||
compile-win-installer-unsigned.bat | ||
install-git-source | ||
install.sh | ||
packagecloud.rb | ||
release | ||
release.go | ||
script.go |