From 8a1bd8da69d7eeb5c31ab34b34640e6ed2fc5069 Mon Sep 17 00:00:00 2001 From: Matthew Hodgson Date: Sun, 6 May 2018 00:22:14 +0100 Subject: [PATCH] tell eslint to ignore viewAvatarOnClick being unused --- src/components/views/avatars/RoomAvatar.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/views/avatars/RoomAvatar.js b/src/components/views/avatars/RoomAvatar.js index e37d8d5d19..821448207f 100644 --- a/src/components/views/avatars/RoomAvatar.js +++ b/src/components/views/avatars/RoomAvatar.js @@ -177,6 +177,7 @@ module.exports = React.createClass({ render: function() { const BaseAvatar = sdk.getComponent("avatars.BaseAvatar"); + /*eslint no-unused-vars: ["error", { "ignoreRestSiblings": true }]*/ const {room, oobData, viewAvatarOnClick, ...otherProps} = this.props; const roomName = room ? room.name : oobData.name;