Небольшие правки в конфиг eslint для устранения конфликта в правиле порядка импорта

This commit is contained in:
Ilia Mashkov
2025-11-19 18:31:19 +03:00
parent 9abbe8dce8
commit 358389c074

View File

@@ -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,