Make eslint fail on error, fix the errors
What does this MR do?
Our previous client eslint setup did not fail if there were linting errors. We had two errors after I fixed that. So I fixed those two errors.
How confident are you it won't break things if deployed?
Should be good!
Links to related issues
- added a test, or explain why one is not needed/possible... .. .hmmmm
- no unrelated changes
- asked someone for a code review
- joined #foodsharing-beta channel at https://slackin.yunity.org
- added an entry to CHANGELOG.md (description, merge request link, username(s))