SwiftLint should emit cursor output like compilers do #2268
Labels
enhancement
Ideas for improvements of existing features and rules.
wontfix
Issues that became stale and were auto-closed by a bot.
New Issue Checklist
Enhancement Request
When SwiftLint emits a warning or error, it would be great if it could include the line of code and a cursor like compilers do.
For example, with the following Swift compiler output:
the
~~ ^ ~~~~~
is the cursor, and it's preceded by the line of code in question.The reason I want this output is primarily because
xcpretty
apparently requires it in order to actually display warnings/errors. Without this,xcpretty
is completely swallowing up all SwiftLint output.The text was updated successfully, but these errors were encountered: