diff --git a/.eslintrc.js b/.eslintrc.js index 14967891..16b085bf 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -66,4 +66,13 @@ module.exports = { 'no-plusplus': 'off', strict: 'off', }, + overrides: [ + { + // Disable default-props for TypeScript files; it's fine to have undefined prop values if declared that way + files: ['**/*.tsx'], + rules: { + 'react/require-default-props': 'off', + }, + }, + ], };