Fix: Ensure exit code is 1 when there's a syntax error (fixes #1239)
Merge pull request #1242 from eslint/issue1239

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