From 4c5720a573591db93871cf6a47d04c842b444b60 Mon Sep 17 00:00:00 2001 From: "J. Ryan Stinnett" Date: Thu, 1 Apr 2021 13:26:00 +0100 Subject: [PATCH] Update lint comments --- src/components/views/elements/Validation.tsx | 2 +- src/components/views/rooms/RoomHeader.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/views/elements/Validation.tsx b/src/components/views/elements/Validation.tsx index 1b0659ab9b..8697c46c30 100644 --- a/src/components/views/elements/Validation.tsx +++ b/src/components/views/elements/Validation.tsx @@ -15,7 +15,7 @@ See the License for the specific language governing permissions and limitations under the License. */ -/* eslint-disable babel/no-invalid-this */ +/* eslint-disable @babel/no-invalid-this */ import React from "react"; import classNames from "classnames"; diff --git a/src/components/views/rooms/RoomHeader.js b/src/components/views/rooms/RoomHeader.js index dc179532af..886317f2bf 100644 --- a/src/components/views/rooms/RoomHeader.js +++ b/src/components/views/rooms/RoomHeader.js @@ -74,7 +74,7 @@ export default class RoomHeader extends React.Component { }; _rateLimitedUpdate = new RateLimitedFunc(function() { - /* eslint-disable babel/no-invalid-this */ + /* eslint-disable @babel/no-invalid-this */ this.forceUpdate(); }, 500);