comment future possible whitespace irregularities
these don't seem to be followed by all Casks: what is the existing general rule?
This commit is contained in:
parent
62bd692387
commit
93b39ed3c5
|
@ -71,6 +71,10 @@ _irregular_cask_whitespace () {
|
|||
printf "\n# No empty line before uninstall\n"
|
||||
perl -C32 -0777 -ne 'print " $ARGV\n" if m{\n[^\n]+\n +uninstall }s' -- ./*.rb
|
||||
|
||||
# todo?
|
||||
# printf "\n# No empty line before caveats\n"
|
||||
# perl -C32 -0777 -ne 'print " $ARGV\n" if m{\n[^\n]+\n +caveats }s' -- ./*.rb
|
||||
|
||||
printf "\n# Extra interior newlines\n"
|
||||
perl -C32 -0777 -ne 'print " $ARGV\n" if m{\n{3,}}s' -- ./*.rb
|
||||
|
||||
|
|
Loading…
Reference in New Issue