koalaman / shellcheck

ShellCheck, a static analysis tool for shell scripts
https://www.shellcheck.net
GNU General Public License v3.0
36.1k stars 1.76k forks source link

Warning for Whitespaces and/or Taps at the end of lines #738

Open 2tata opened 7 years ago

2tata commented 7 years ago

Just as an idea. Maybe it can be nice if shellcheck set a warning flag on positions who lines end with whitespaces and/or taps for code style.

bje- commented 5 years ago

This would be very helpful.

dwijnand commented 5 years ago

As of https://github.com/koalaman/shellcheck/commit/1a6ae4f19e2ab58f15cf55d0eed1ab96ca2a0eb0 the README suggests using shfmt for formatting and style aspects of shell scripts.