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 606194b commit fce8882Copy full SHA for fce8882
packages/eslint-config-react/typescript.js
@@ -18,7 +18,10 @@ module.exports = {
18
},
19
20
],
21
- '@typescript-eslint/no-unused-vars': ['error'],
+ '@typescript-eslint/no-unused-vars': 'error',
22
+ '@typescript-eslint/consistent-type-imports': 'error',
23
+ '@typescript-eslint/consistent-type-exports': 'error',
24
+ '@typescript-eslint/consistent-type-definitions': ['error', 'type'],
25
// We favor object defaults instead of default props in TS
26
// https://react-typescript-cheatsheet.netlify.app/docs/basic/getting-started/default_props/#you-may-not-need-defaultprops
27
// https://twitter.com/dan_abramov/status/1133878326358171650
0 commit comments