Skip to content

Commit

Permalink
fix: improve sort-jsx-props
Browse files Browse the repository at this point in the history
  • Loading branch information
ASafaeirad committed Oct 19, 2024
1 parent 9c3e4f5 commit 8641cd8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/modules/perfectionist.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ function perfectionist() {
'perfectionist/sort-jsx-props': [
'warn',
{
groups: ['shorthand', 'unknown', 'callback', 'multiline'],
customGroups: { callback: 'on*' },
groups: ['attr', 'shorthand', 'size', 'unknown', 'callback', 'multiline'],
customGroups: { callback: 'on*', size: ['width', 'size', 'height'], attr: ['dir', 'lang'] },
},
],
'perfectionist/sort-maps': 'off',
Expand Down

0 comments on commit 8641cd8

Please sign in to comment.