Currently on opening or saving a bash script the script will be validated and errors will be shown.
Preferences->Bash Editor->Validation