Add eslint-plugin-eslint-comments

This commit is contained in:
Yuya Ochiai
2019-03-12 23:31:45 +09:00
parent 4725bd9bf9
commit 6d6d586b3b
12 changed files with 47 additions and 4 deletions

View File

@@ -2,8 +2,8 @@
// Copyright (c) 2016-present Mattermost, Inc. All Rights Reserved.
// See LICENSE.txt for license information.
// This file uses setState().
/* eslint-disable react/no-set-state */
// setState() is necessary for this component
import url from 'url';
@@ -303,3 +303,5 @@ MattermostView.propTypes = {
useSpellChecker: PropTypes.bool,
onSelectSpellCheckerLocale: PropTypes.func,
};
/* eslint-enable react/no-set-state */