We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 450055b commit 927e115Copy full SHA for 927e115
test/lint/lint-filenames.sh
@@ -10,7 +10,10 @@
10
export LC_ALL=C
11
12
EXIT_CODE=0
13
-OUTPUT=$(git ls-files -- "*.cpp" "*.h" "*.py" "*.sh" | grep -vE '^[a-z0-9_./-]+$' | grep -vE 'src/(secp256k1|univalue)/')
+OUTPUT=$(git ls-files --full-name -- "*.[cC][pP][pP]" "*.[hH]" "*.[pP][yY]" "*.[sS][hH]" | \
14
+ grep -vE '^[a-z0-9_./-]+$' | \
15
+ grep -vE '^src/(secp256k1|univalue)/')
16
+
17
if [[ ${OUTPUT} != "" ]]; then
18
echo "Use only lowercase alphanumerics (a-z0-9), underscores (_), hyphens (-) and dots (.)"
19
echo "in source code filenames:"
0 commit comments