We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9dd4245 commit 7301d14Copy full SHA for 7301d14
packages/eslint-config-react/typescript.js
@@ -9,5 +9,9 @@ module.exports = {
9
plugins: ['@typescript-eslint'],
10
rules: {
11
'@typescript-eslint/no-unused-vars': ['error'],
12
+ // We favor object defaults instead of default props in TS
13
+ // https://react-typescript-cheatsheet.netlify.app/docs/basic/getting-started/default_props/#you-may-not-need-defaultprops
14
+ // https://twitter.com/dan_abramov/status/1133878326358171650
15
+ 'react/require-default-props': 'off',
16
},
17
}
0 commit comments