From 91e86d2b02e1943bb70b9a45c722d185678b1e66 Mon Sep 17 00:00:00 2001 From: "J. Ryan Stinnett" Date: Thu, 30 May 2019 14:57:44 +0100 Subject: [PATCH] Fix linting in MessagePanel --- .eslintignore.errorfiles | 1 - src/components/structures/MessagePanel.js | 3 +++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.eslintignore.errorfiles b/.eslintignore.errorfiles index 3636a5e563..a89c083518 100644 --- a/.eslintignore.errorfiles +++ b/.eslintignore.errorfiles @@ -3,7 +3,6 @@ src/component-index.js src/components/structures/BottomLeftMenu.js src/components/structures/CreateRoom.js -src/components/structures/MessagePanel.js src/components/structures/RoomDirectory.js src/components/structures/RoomStatusBar.js src/components/structures/RoomView.js diff --git a/src/components/structures/MessagePanel.js b/src/components/structures/MessagePanel.js index 657b01c663..5a11ce8ab9 100644 --- a/src/components/structures/MessagePanel.js +++ b/src/components/structures/MessagePanel.js @@ -15,6 +15,8 @@ See the License for the specific language governing permissions and limitations under the License. */ +/* global Velocity */ + import React from 'react'; import ReactDOM from 'react-dom'; import PropTypes from 'prop-types'; @@ -622,6 +624,7 @@ module.exports = React.createClass({ this._readMarkerGhostNode = ghostNode; if (ghostNode) { + // eslint-disable-next-line new-cap Velocity(ghostNode, {opacity: '0', width: '10%'}, {duration: 400, easing: 'easeInSine', delay: 1000});