Fix: Ensure exit code is 1 when there's a syntax error (fixes #1239)

This ensures that ESLint will exit with a code of 1 when a syntax error is discovered.