Add pedantic-mode for shell.