From 23f836f4b89798f5ed76650eccf4f818a2fd8193 Mon Sep 17 00:00:00 2001 From: Shin'ya Ueoka Date: Thu, 13 Aug 2020 21:22:47 +0900 Subject: Ignore react/prop-types on tsx --- .eslintrc | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to '.eslintrc') diff --git a/.eslintrc b/.eslintrc index 5eb19bb..9ae5f88 100644 --- a/.eslintrc +++ b/.eslintrc @@ -36,5 +36,13 @@ "@typescript-eslint/no-explicit-any": "off", "@typescript-eslint/no-non-null-assertion": "off", "@typescript-eslint/no-unused-vars": ["error", { "argsIgnorePattern": "^_" }] - } + }, + "overrides": [ + { + "files": ["**/*.tsx"], + "rules": { + "react/prop-types": "off" + } + } + ] } -- cgit v1.2.3