From b023b891550cd8fb2f874e822f05921d13f51fb2 Mon Sep 17 00:00:00 2001 From: David Meza Date: Tue, 1 Aug 2017 07:12:25 -0500 Subject: Use Constants.MAX_CHANNELNAME_LENGTH where a fixed number like 22 or 64 is used for max length of channel names. (#7041) --- webapp/utils/constants.jsx | 2 ++ 1 file changed, 2 insertions(+) (limited to 'webapp/utils') 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'; -- cgit v1.2.3-1-g7c22