Skip to content

Commit 1d1202d

Browse files
committed
feat(base/react): [perfectionist/sort-imports] newlines are not allowed
1 parent 1ff02d4 commit 1d1202d

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

configs/base.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@ module.exports = defineConfig(
102102
{
103103
...perfectionist.configs['recommended-natural'].rules['perfectionist/sort-imports'][1],
104104
groups: SORT_IMPORTS_GROUPS,
105+
newlinesBetween: 0,
105106
},
106107
],
107108
'perfectionist/sort-intersection-types': [

configs/react.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ module.exports = defineConfig(
6868
],
6969
groups: ['react', ...SORT_IMPORTS_GROUPS],
7070
ignoreCase: true,
71+
newlinesBetween: 0,
7172
type: 'natural',
7273
},
7374
],

0 commit comments

Comments
 (0)