For clarifcation, prior to 0.6.0 warnings (whether from the message's default, or through the --warn option) would show up with a [W]. Looks like intention was to change error codes to be Wxxx or Exxx going forward.
```
ben@warden816:~/repos/bashate (master u=)$ bashate bashate/tests/samples/E042_bad.sh
[W] E042: local declaration hides errors: ' local foo=$(ls)'
- bashate/tests/samples/E042_bad.sh : L2
[W] E042: local declaration hides errors: ' local foo=`ls`'
- bashate/tests/samples/E042_bad.sh : L6
[W] E042: local declaration hides errors: ' local foo="$(ls)"'
- bashate/tests/samples/E042_bad.sh : L10
[W] E042: local declaration hides errors: ' local bar="`ls`"'
- bashate/tests/samples/E042_bad.sh : L11
4 bashate warning(s) found
```
For clarifcation, prior to 0.6.0 warnings (whether from the message's default, or through the --warn option) would show up with a [W]. Looks like intention was to change error codes to be Wxxx or Exxx going forward.
``` ~/repos/ bashate (master u=)$ bashate bashate/ tests/samples/ E042_bad. sh tests/samples/ E042_bad. sh : L2 tests/samples/ E042_bad. sh : L6 tests/samples/ E042_bad. sh : L10 tests/samples/ E042_bad. sh : L11
ben@warden816:
[W] E042: local declaration hides errors: ' local foo=$(ls)'
- bashate/
[W] E042: local declaration hides errors: ' local foo=`ls`'
- bashate/
[W] E042: local declaration hides errors: ' local foo="$(ls)"'
- bashate/
[W] E042: local declaration hides errors: ' local bar="`ls`"'
- bashate/
4 bashate warning(s) found
```