Exclude the same paths for syntax and lint

Both use an array in the same way.
Exclude vendor/ and spec/ from lint and syntax

We don't want to test third-party modules or code, because either:

a) It's code that we don't control and can't easily change.
b) It's code that we do control and are tested elsewhere.