Every shell by its own rules
bash, zsh, POSIX sh, dash and ksh each have their own parser, and the dialect is detected per file from the shebang, a directive, .shellcheckrc or the file name. zsh is linted as zsh, which ShellCheck refuses to do.
Dialects






