nzakas/eslint — pull request #101 by Bartvds (2013-07-21 19:41:17+00:00)
Title: added source-map support, 'path' reporter and fixtures for cli tests

The updated code as per #45

It's basically then same stuff as before but updated to work with recent changes.

* Implemented source-map support, this happens in `lib/cli.js`
* Added the `path` formatter and associated tests.
* Added a set of fixtures for the `cli.js` tests.
* Run added tests to `test/lib/cli.js`, including some with source-map and the path formatter.
* Modified the `compact` reporter to use the message.filePath property.

One important note: the `test/lib/cli.js` verifies console output. But because how `vows` works with parallel execution I had to split every test in it's own addBatch()-clause to be able to capture it per-test (this was a lot of fun to debug :)