diff options
author | Christopher Speller <crspeller@gmail.com> | 2015-11-23 10:07:58 -0500 |
---|---|---|
committer | Christopher Speller <crspeller@gmail.com> | 2015-11-23 10:07:58 -0500 |
commit | eebec713606de38c1c82a0e199442294c87b45d5 (patch) | |
tree | f738fe9515de8277b080fa5a36b9cc56f17fbb20 /web/react/utils/channel_intro_mssages.jsx | |
parent | 4b3a3941e04803539f39c057a5c0d44cd30699be (diff) | |
download | chat-eebec713606de38c1c82a0e199442294c87b45d5.tar.gz chat-eebec713606de38c1c82a0e199442294c87b45d5.tar.bz2 chat-eebec713606de38c1c82a0e199442294c87b45d5.zip |
Enable no magic numbers as warning. Ignore stateless components.
Diffstat (limited to 'web/react/utils/channel_intro_mssages.jsx')
-rw-r--r-- | web/react/utils/channel_intro_mssages.jsx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/web/react/utils/channel_intro_mssages.jsx b/web/react/utils/channel_intro_mssages.jsx index aef1593dc..0bbc7366e 100644 --- a/web/react/utils/channel_intro_mssages.jsx +++ b/web/react/utils/channel_intro_mssages.jsx @@ -71,7 +71,7 @@ export function createDMIntroMessage(channel) { ); } -export function createOffTopicIntroMessage(channel, showInviteModal) { //eslint-disable-line react/no-multi-comp +export function createOffTopicIntroMessage(channel, showInviteModal) { return ( <div className='channel-intro'> <h4 className='channel-intro__title'>{'Beginning of ' + channel.display_name}</h4> @@ -101,7 +101,7 @@ export function createOffTopicIntroMessage(channel, showInviteModal) { //eslint- ); } -export function createDefaultIntroMessage(channel) { //eslint-disable-line react/no-multi-comp +export function createDefaultIntroMessage(channel) { const team = TeamStore.getCurrent(); let inviteModalLink; if (team.type === Constants.INVITE_TEAM) { @@ -154,7 +154,7 @@ export function createDefaultIntroMessage(channel) { //eslint-disable-line react ); } -export function createStandardIntroMessage(channel, showInviteModal) { //eslint-disable-line react/no-multi-comp +export function createStandardIntroMessage(channel, showInviteModal) { var uiName = channel.display_name; var creatorName = ''; |