jshint/jshint — pull request #1088 by jklein (2013-05-20 20:39:06+00:00)
Title: Updating Checkstyle reporter to provide error codes

There are two goals in this pull request:

1. When the --verbose option is supplied, add the error code to the checkstyle message attribute, so this output matches the default reporter.
2. Make the source attribute of the checkstyle output more useful. In it's current incarnation, it's simply a less useful version of the message attribute, and Jenkins (among other tools) break when they try to use it for categorization. In this change we simply use `result.error.code` for the source, which makes for easy categorization

I would much rather use the name of the actual JSHint option that is causing the error, but this information is not provided to the reporter, so it would take a large amount of refactoring to get that to work. Perhaps we can write a mapping from error code to option, and leverage that to create the source in the future.