aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShin'ya Ueoka <ueokande@i-beam.org>2020-08-13 21:22:47 +0900
committerShin'ya Ueoka <ueokande@i-beam.org>2020-08-13 21:22:47 +0900
commit23f836f4b89798f5ed76650eccf4f818a2fd8193 (patch)
tree88c4f714f5b6091b17adb60fd4c2aaaabf55c7bf
parent04e526481179cbd64de1d2f4803ebdd719155f8c (diff)
Ignore react/prop-types on tsx
-rw-r--r--.eslintrc10
1 files changed, 9 insertions, 1 deletions
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"
+ }
+ }
+ ]
}