Make babies with the linter.
This commit is contained in:
parent
cd87a6712d
commit
c52173c64b
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue