diff options
author | David Meza <dmeza@users.noreply.github.com> | 2017-08-01 07:12:25 -0500 |
---|---|---|
committer | George Goldberg <george@gberg.me> | 2017-08-01 13:12:25 +0100 |
commit | b023b891550cd8fb2f874e822f05921d13f51fb2 (patch) | |
tree | b347516f83cc152da05e297c4b702e225e3eb3bc /webapp/utils/constants.jsx | |
parent | 00e8b6621a7ddf13222144d4acf80421204a23cc (diff) | |
download | chat-b023b891550cd8fb2f874e822f05921d13f51fb2.tar.gz chat-b023b891550cd8fb2f874e822f05921d13f51fb2.tar.bz2 chat-b023b891550cd8fb2f874e822f05921d13f51fb2.zip |
Use Constants.MAX_CHANNELNAME_LENGTH where a fixed number like 22 or 64 is used for max length of channel names. (#7041)
Diffstat (limited to 'webapp/utils/constants.jsx')
-rw-r--r-- | webapp/utils/constants.jsx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/webapp/utils/constants.jsx b/webapp/utils/constants.jsx index 2b6b17503..f3d1520c7 100644 --- a/webapp/utils/constants.jsx +++ b/webapp/utils/constants.jsx @@ -1,6 +1,8 @@ // Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved. // See License.txt for license information. +/* eslint-disable no-magic-numbers */ + import keyMirror from 'key-mirror'; import audioIcon from 'images/icons/audio.png'; |