gecko-dev/tools/lint
Andrew Halberstadt 352b4ef478 Bug 1309963 - Fix hidden eslint error output when the first line is blank, r=jgraham
The 'eslint' linter will assume there is an error message if the output is not valid
JSON. However, if output[0] evaluates to False, then it will also replace the output
with '[]' (which means success).

But if the error starts with a blank line, then output[0] is False and we wrongfully
don't print the rest of the message.

MozReview-Commit-ID: 9fXpmtlUUT1

--HG--
extra : rebase_source : b0466ea665cc311d9512756349b079c136a83ac1
2016-10-13 16:22:26 -04:00
..
docs Bug 1302796 - Add integration between structured logging and lints, r=ahal 2016-09-13 14:18:41 +01:00
eslint Bug 1298879 - Upgrade to ESLint 3.5.0 for faster linting. r=miker 2016-09-20 10:27:03 +01:00
eslint.lint Bug 1309963 - Fix hidden eslint error output when the first line is blank, r=jgraham 2016-10-13 16:22:26 -04:00
flake8.lint Bug 1280573 - Add testing/mozbase to flake8 linter: r=ahal 2016-09-30 16:08:37 +02:00
mach_commands.py Bug 1306366 - mach eslint no longer accepts --no-ignore as a parameter. r=ahal 2016-10-14 14:20:23 +02:00
wpt.lint Bug 1286877 - do not set c-basic-offset for python-mode; r=gps 2016-07-14 10:16:42 -06:00
wpt_manifest.lint Bug 1302796 - Add --check-clean flag to mach manifest update and mozlint integration, r=ahal,Ms2ger 2016-09-13 14:20:20 +01:00