mirror of
https://github.com/koalaman/shellcheck
synced 2025-08-14 02:27:30 -07:00
Give each sh/dash compatibility warning its own SC3xxx error code
This commit is contained in:
parent
58783ab3cc
commit
cfd68ee0c2
4 changed files with 62 additions and 58 deletions
|
@ -6,7 +6,7 @@ then
|
|||
exit 1
|
||||
fi
|
||||
|
||||
for i in 1 2
|
||||
for i in 1 2 3
|
||||
do
|
||||
last=$(grep -hv "^prop" ./**/*.hs | grep -Ewo "${i}[0-9]{3}" | sort -n | tail -n 1)
|
||||
echo "Next ${i}xxx: $((last+1))"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue