Небольшие правки в конфиг eslint для устранения конфликта в правиле порядка импорта
This commit is contained in:
@@ -116,6 +116,7 @@ export default [
|
|||||||
'internal',
|
'internal',
|
||||||
['sibling', 'parent'],
|
['sibling', 'parent'],
|
||||||
'index',
|
'index',
|
||||||
|
'type',
|
||||||
],
|
],
|
||||||
pathGroups: [
|
pathGroups: [
|
||||||
{
|
{
|
||||||
@@ -124,12 +125,13 @@ export default [
|
|||||||
position: 'before',
|
position: 'before',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
pattern: '@src/**',
|
pattern: '@/**',
|
||||||
group: 'internal',
|
group: 'internal',
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
pathGroupsExcludedImportTypes: ['internal', 'react'],
|
pathGroupsExcludedImportTypes: ['type'],
|
||||||
'newlines-between': 'always',
|
'newlines-between': 'always',
|
||||||
|
distinctGroup: false,
|
||||||
alphabetize: {
|
alphabetize: {
|
||||||
order: 'asc',
|
order: 'asc',
|
||||||
caseInsensitive: true,
|
caseInsensitive: true,
|
||||||
|
|||||||
Reference in New Issue
Block a user