Skip to content

Commit 5c30c71

Browse files
committed
fix: fix sort-jsx-props
1 parent 45c65d1 commit 5c30c71

File tree

1 file changed

+1
-20
lines changed

1 file changed

+1
-20
lines changed

src/modules/perfectionist.mjs

Lines changed: 1 addition & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -34,26 +34,7 @@ function perfectionist() {
3434
],
3535
},
3636
],
37-
'perfectionist/sort-jsx-props': [
38-
'warn',
39-
{
40-
groups: ['attr', 'shorthand', 'size', 'unknown', 'callback', 'multiline'],
41-
customGroups: [
42-
{
43-
groupName: 'callback',
44-
elementNamePattern: '^on.+',
45-
},
46-
{
47-
groupName: 'size',
48-
elementNamePattern: ['width', 'size', 'height'],
49-
},
50-
{
51-
groupName: 'attr',
52-
elementNamePattern: ['dir', 'lang'],
53-
},
54-
],
55-
},
56-
],
37+
'perfectionist/sort-jsx-props': 'off',
5738
'perfectionist/sort-maps': 'off',
5839
'perfectionist/sort-named-exports': 'warn',
5940
'perfectionist/sort-named-imports': 'warn',

0 commit comments

Comments
 (0)