bashate/releasenotes/notes/heredoc-ignore-905b29053652f90e.yaml
Ian Wienand 0661da9c91 Add reno & start at release notes
Add reno & start at having release notes

Change-Id: I747ccfd87cc56e0797ec899097a6e338c720692e
2016-03-07 13:08:39 +11:00

29 lines
843 B
YAML

---
fixes:
- Ignore contents of ``heredoc`` values. ``heredocs`` usually
contain content in a foreign syntax so ``bashate`` will no longer
consider them.
- Continuation lines are now parsed into an array, rather than a
single logical-line. This fixes continuation lines being
incorrectly reported as too long.
- |
Indentation now allows emacs-formatted idents, where continuation
lines for long commands align to the first argument above (rather
than a strict modulo of 4). e.g.
::
longcommand arg1 arg2 arg3 \
arg4 arg5
will no longer trigger a bad indent warning.
- Use ``bash -n`` to detect unclosed heredocs, rather than construct
our own parsing.
- Correctly check for newlines at the end of all files; even if you
only specify one file to check.