Skip to content

Commit e28bb66

Browse files
committed
chore(src): linting pass
1 parent af5c282 commit e28bb66

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/rules/order.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -519,7 +519,7 @@ function computeRank(context, ranks, importEntry, excludedImportTypes, isSorting
519519

520520
const isTypeGroupInGroups = ranks.omittedTypes.indexOf('type') === -1;
521521
const isTypeOnlyImport = importEntry.node.importKind === 'type';
522-
const isExcludedFromPathRank = isTypeOnlyImport && isTypeGroupInGroups && excludedImportTypes.has('type')
522+
const isExcludedFromPathRank = isTypeOnlyImport && isTypeGroupInGroups && excludedImportTypes.has('type');
523523

524524
if (importEntry.type === 'import:object') {
525525
impType = 'object';
@@ -538,7 +538,7 @@ function computeRank(context, ranks, importEntry, excludedImportTypes, isSorting
538538
}
539539

540540
if (isTypeOnlyImport && isSortingTypesGroup) {
541-
rank = ranks.groups['type'] + rank / 10;
541+
rank = ranks.groups.type + rank / 10;
542542
}
543543

544544
if (importEntry.type !== 'import' && !importEntry.type.startsWith('import:')) {
@@ -952,7 +952,7 @@ module.exports = {
952952
ranks,
953953
getBlockImports(node.parent),
954954
pathGroupsExcludedImportTypes,
955-
isSortingTypesGroup
955+
isSortingTypesGroup,
956956
);
957957

958958
if (named.import) {
@@ -1004,7 +1004,7 @@ module.exports = {
10041004
ranks,
10051005
getBlockImports(node.parent),
10061006
pathGroupsExcludedImportTypes,
1007-
isSortingTypesGroup
1007+
isSortingTypesGroup,
10081008
);
10091009
},
10101010
CallExpression(node) {
@@ -1027,7 +1027,7 @@ module.exports = {
10271027
ranks,
10281028
getBlockImports(block),
10291029
pathGroupsExcludedImportTypes,
1030-
isSortingTypesGroup
1030+
isSortingTypesGroup,
10311031
);
10321032
},
10331033
...named.require && {

0 commit comments

Comments
 (0)