Skip to content

Commit

Permalink
Add sort-modules rule to enforce module sorting with partitioning
Browse files Browse the repository at this point in the history
  • Loading branch information
joao-vasconcelos committed Jan 3, 2025
1 parent c4dd495 commit 5bf59b4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions rules/common.rule.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ export default tseslint.config(
'no-unused-vars': 'off',
'no-var': 'error',
'perfectionist/sort-imports': ['error', { partitionByComment: true }],
'perfectionist/sort-modules': ['error', { partitionByComment: true }],
'perfectionist/sort-objects': ['error', { partitionByComment: true }],
},
},
Expand Down

0 comments on commit 5bf59b4

Please sign in to comment.