Skip to content

Commit

Permalink
fix: remove import newlines and specify all groups (#149)
Browse files Browse the repository at this point in the history
The import ordering is closer to our internal conventions like this.
  • Loading branch information
achingbrain authored Apr 27, 2023
1 parent dceae30 commit 70bc250
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/js.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,9 +81,9 @@ module.exports = {
order: 'asc',
caseInsensitive: false
},
'newlines-between': 'always',
'newlines-between': 'never',
// the overall order of imports - anything not in this list is grouped together at the end
groups: ['builtin', 'external', 'type']
groups: ['builtin', 'external', 'internal', 'parent', 'sibling', 'index', 'object', 'type']
}
]
},
Expand Down

0 comments on commit 70bc250

Please sign in to comment.