put the directories in a variable:

```bash
LINTED_DIRECTORIES="apps shared"
...
diff_with_exclude=`git diff --staged --name-only --diff-filter=ACMRT -- ${LINTER_DIRECTORIES} | grep -v $grep_exclude`
```
(and it looks better with some spaces)