Shellcheck uses tabs+spaces to indent the markers pointing to the offending code. This causes misalignment if one does not use the default tabs -8 in a terminal. Please consider using just spaces for alignment.
For bugs with existing features
Here's a snippet or screenshot that shows the problem:
tabs -4
shellcheck /some/script
# or alternatively:
shellcheck /some/script | less --tabs=4
(The script in this screenshot was itself indented also with 4-space long tabs)
Here's what shellcheck currently says:
Markers are misaligned
Here's what I wanted or expected to see:
Markers should align to code
Thanks! :)
Shellcheck uses tabs+spaces to indent the markers pointing to the offending code. This causes misalignment if one does not use the default
tabs -8in a terminal. Please consider using just spaces for alignment.For bugs with existing features
Here's a snippet or screenshot that shows the problem:
(The script in this screenshot was itself indented also with 4-space long tabs)
Here's what shellcheck currently says:
Markers are misaligned
Here's what I wanted or expected to see:
Markers should align to code
Thanks! :)