From 5c8e1c9277e8f45a6a42f11d2cefb5aa5d4e40a0 Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Mon, 7 Mar 2022 12:43:40 -0600 Subject: [PATCH] eslint: don't enforce PropTypes in tsx files --- .eslintrc.js | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.eslintrc.js b/.eslintrc.js index c57821490..b478bcc3f 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -254,4 +254,12 @@ module.exports = { 'react-hooks/rules-of-hooks': 'error', 'react-hooks/exhaustive-deps': 'warn', }, + overrides: [ + { + files: ['**/*.tsx'], + 'rules': { + 'react/prop-types': 'off', + }, + }, + ], };