diff options
author | Shin'ya Ueoka <ueokande@i-beam.org> | 2020-08-13 21:22:47 +0900 |
---|---|---|
committer | Shin'ya Ueoka <ueokande@i-beam.org> | 2020-08-13 21:22:47 +0900 |
commit | 23f836f4b89798f5ed76650eccf4f818a2fd8193 (patch) | |
tree | 88c4f714f5b6091b17adb60fd4c2aaaabf55c7bf | |
parent | 04e526481179cbd64de1d2f4803ebdd719155f8c (diff) |
Ignore react/prop-types on tsx
-rw-r--r-- | .eslintrc | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -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" + } + } + ] } |