Skip to content

Commit

Permalink
fix: type import order
Browse files Browse the repository at this point in the history
  • Loading branch information
hannoeru committed Sep 3, 2021
1 parent 3ef49ca commit 42f4a8b
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion packages/basic/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,20 @@ module.exports = {
groups: [
'builtin',
'external',
['parent', 'sibling', 'index'],
'internal',
'parent',
'sibling',
'index',
'type',
],
pathGroups: [
{
pattern: '@/**',
group: 'internal',
position: 'after',
},
],
pathGroupsExcludedImportTypes: ['types'],
},
],
'import/first': 'error',
Expand Down

0 comments on commit 42f4a8b

Please sign in to comment.