royriojas / eslint-friendly-formatter

A simple formatter/reporter for ESLint that's friendly with Sublime Text and iterm2 "click to open file" functionality
MIT License
198 stars 28 forks source link

buffer overflow when the source property in the result entry is huge #13

Closed royriojas closed 9 years ago

royriojas commented 9 years ago

This happens when the linter parses a minified file. when the file is a single line the entire line is passed to the source property of the result entry.

Maybe reporters should receive a stream to where they can write or return a writable stream.