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

Allow for null message.source #33

Closed solebared closed 6 years ago

solebared commented 6 years ago

Addresses issue #29, where a parsing error causes message source to be null.

This is a naive, defensive fix: i don't know the eslint ecosystem at all and didn't investigate whether message.source being null is indicative of a bug upstream.

royriojas commented 6 years ago

thanks @exbinary.

Really appreciate your contribution, will merge it.