diff options
author | Joram Wilander <jwawilander@gmail.com> | 2015-11-23 10:39:41 -0500 |
---|---|---|
committer | Joram Wilander <jwawilander@gmail.com> | 2015-11-23 10:39:41 -0500 |
commit | 60e2314baaa17fe972f13e6f763e08e03e356c8a (patch) | |
tree | f738fe9515de8277b080fa5a36b9cc56f17fbb20 /web/react/utils | |
parent | 4b3a3941e04803539f39c057a5c0d44cd30699be (diff) | |
parent | eebec713606de38c1c82a0e199442294c87b45d5 (diff) | |
download | chat-60e2314baaa17fe972f13e6f763e08e03e356c8a.tar.gz chat-60e2314baaa17fe972f13e6f763e08e03e356c8a.tar.bz2 chat-60e2314baaa17fe972f13e6f763e08e03e356c8a.zip |
Merge pull request #1498 from mattermost/eslint-updates
ESLint updates. Enable no magic numbers as warning. Ignore stateless components.
Diffstat (limited to 'web/react/utils')
-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 = ''; |