A pep8 equivalent for bash scripts. bashate attempts to be an automated style checker for bash scripts to fill the same part of code review that pep8 does in most OpenStack projects.
Questions tagged [bashate]
2 questions
3
votes
2 answers
How is a shellscript syntax checker invoked (by/with syntastic and pathogen)?
When I work on a bash/sh script, pathogen kicks in and correctly loads everything that's in ~/.vim/bundle/syntastic/syntax_checkers/sh/. I checked with :scriptnames in command-line mode. Included are shellcheck.vim, checkbashism.vim, bashate.vim…

Cbhihe
- 511
- 9
- 24
1
vote
1 answer
How to I avoid E042 local declaration hides errors with bashate?
Bashate linter throws an error when you use local but it gives no indicarion on how to rewrite the code to make it pass the linting.
Obviously that I could disable that check but that not the point, the idea is to find a way to write the code in a…

sorin
- 161,544
- 178
- 535
- 806