Skip to content

Commit 9527ccf

Browse files
committed
chore: update eslint rule
1 parent 7e5cc6c commit 9527ccf

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

configs/eslint-config.mjs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,6 @@ export default tseslint.config(
9595
'error',
9696
{ ignorePropertyModificationsForRegex: ['^draft', '^prev', '^prv', 'acc'], props: true }
9797
],
98-
9998
'no-restricted-imports': [
10099
'error',
101100
{
@@ -123,6 +122,8 @@ export default tseslint.config(
123122
}
124123
],
125124

125+
'perfectionist/sort-objects': ['error', { partitionByComment: true }],
126+
126127
'prettier/prettier': ['warn', {}],
127128
'react/destructuring-assignment': 0,
128129
'react/jsx-filename-extension': [1, { extensions: ['.js', '.jsx', '.ts', '.tsx'] }],

0 commit comments

Comments
 (0)