Skip to content

Commit d9046d8

Browse files
committed
feat: add perfectionist rules for sorting modules and objects
1 parent e3afbd5 commit d9046d8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

configs/eslint-config.mjs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,7 @@ export default tseslint.config(
165165
}
166166
],
167167

168+
'perfectionist/sort-modules': ['error', { partitionByComment: true, partitionByNewLine: true }],
168169
'perfectionist/sort-objects': ['error', { partitionByComment: true, partitionByNewLine: true }],
169170

170171
'prettier/prettier': ['warn', {}],

0 commit comments

Comments
 (0)