From fe123fc6057ca0a90d7e957f81038895e804c09e Mon Sep 17 00:00:00 2001 From: "J. Ryan Stinnett" Date: Tue, 29 Jun 2021 13:35:43 +0100 Subject: [PATCH] Rework lint comments --- .eslintrc.js | 3 +++ src/components/views/elements/Validation.tsx | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.eslintrc.js b/.eslintrc.js index 58f3f25dab..cf648b7021 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -41,6 +41,9 @@ module.exports = { "indent": "off", "no-extra-boolean-cast": "off", + // Remove Babel things manually due to override limitations + "@babel/no-invalid-this": ["off"], + // We're okay being explicit at the moment "@typescript-eslint/no-empty-interface": "off", // We disable this while we're transitioning diff --git a/src/components/views/elements/Validation.tsx b/src/components/views/elements/Validation.tsx index 8697c46c30..ad3571513c 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 @typescript-eslint/no-invalid-this */ import React from "react"; import classNames from "classnames";