Skip to content

Commit 1a0bb04

Browse files
[core] Remove custom hooks from the mui-name-matches-component-name linting rule
1 parent 968facc commit 1a0bb04

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

.eslintrc.js

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -446,16 +446,7 @@ module.exports = {
446446
files: ['packages/*/src/**/*{.ts,.tsx,.js}'],
447447
excludedFiles: ['*.d.ts', '*.spec.ts', '*.spec.tsx', 'packages/mui-joy/**/*{.ts,.tsx,.js}'],
448448
rules: {
449-
'material-ui/mui-name-matches-component-name': [
450-
'error',
451-
{
452-
customHooks: [
453-
'useDatePickerDefaultizedProps',
454-
'useDateTimePickerDefaultizedProps',
455-
'useTimePickerDefaultizedProps',
456-
],
457-
},
458-
],
449+
'material-ui/mui-name-matches-component-name': 'error',
459450
},
460451
},
461452
{

0 commit comments

Comments
 (0)