t / chainlint / here-doc.teston commit editorconfig: provide editor settings for Git developers (6f9beef)
   1# LINT: stitch together incomplete \-ending lines
   2# LINT: swallow here-doc to avoid false positives in content
   3boodle wobba \
   4       gorgo snoot \
   5       wafta snurb <<EOF &&
   6quoth the raven,
   7nevermore...
   8EOF
   9
  10# LINT: swallow here-doc with arbitrary tag
  11cat <<-Arbitrary_Tag_42 >foo &&
  12snoz
  13boz
  14woz
  15Arbitrary_Tag_42
  16
  17# LINT: swallow 'quoted' here-doc
  18cat <<'FUMP' >bar &&
  19snoz
  20boz
  21woz
  22FUMP
  23
  24# LINT: swallow "quoted" here-doc
  25cat <<"zump" >boo &&
  26snoz
  27boz
  28woz
  29zump
  30
  31# LINT: swallow here-doc (EOF is last line of test)
  32horticulture <<\EOF
  33gomez
  34morticia
  35wednesday
  36pugsly
  37EOF