Make babies with the linter.

This commit is contained in:
eal 2017-11-20 16:57:22 +02:00
parent cd87a6712d
commit c52173c64b

View file

@ -79,12 +79,13 @@ const PostStatusForm = {
if (matchedGroups.length <= 0) { if (matchedGroups.length <= 0) {
return false return false
} }
/* eslint-disable */
return map(take(matchedGroups, 5), ({nickname, original_logo}) => ({ return map(take(matchedGroups, 5), ({nickname, original_logo}) => ({
// eslint-disable-next-line camelcase
screen_name: `!${nickname}`, screen_name: `!${nickname}`,
name: '', name: '',
img: original_logo || 'https://placehold.it/48x48' img: original_logo || 'https://placehold.it/48x48'
})) }))
/* eslint-enable */
} else { } else {
return false return false
} }