appfolio / eslint-rails

MIT License
39 stars 22 forks source link

adds 'or' operator as a failsafe in warning.rb if warning_hash doesn't have a ruleId #13

Closed alanbsmith closed 8 years ago

alanbsmith commented 8 years ago

This is a suggested PR for issue #11.

This provides a more user-friendly error and allows the linter to finish in stead of blowing up.