Skip to content

Commit

Permalink
fix: order import not working expectedly
Browse files Browse the repository at this point in the history
  • Loading branch information
gutyerrez committed Aug 26, 2024
1 parent 6a33b1b commit 29faf6e
Showing 1 changed file with 15 additions and 7 deletions.
22 changes: 15 additions & 7 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ export default [
'import-helpers/order-imports': [
'error',
{
newlinesBetween: 'always-and-inside-groups',
newlinesBetween: 'always',
groups: [
'/^reflect-metadata/',
'/^@nestjs/',
Expand All @@ -156,17 +156,25 @@ export default [
[
'/^providers/',
'/^database/',
'/^storage/',
'/^storage/'
],
[
'/^services/',
'/^usecases/',
'/^usecases/'
],
[
'/^data/',
'/^models/',
'/^entity/',
'/^entities/',
'/^entities/'
],
[
'/^dtos/',
'/^repositories/',
'/^exceptions/',
'/^enums/'
'/^repositories/'
],
[
'/^enums/',
'/^exceptions/'
],
[
'parent',
Expand Down

0 comments on commit 29faf6e

Please sign in to comment.