Skip to content

Commit

Permalink
chore: sort exports using eslint rule sort-export-all (#2908)
Browse files Browse the repository at this point in the history
  • Loading branch information
trivikr authored Oct 18, 2021
1 parent c6a9811 commit 0a75f12
Show file tree
Hide file tree
Showing 318 changed files with 2,765 additions and 2,751 deletions.
3 changes: 2 additions & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ module.exports = {
// Uses the recommended rules from the @typescript-eslint/eslint-plugin
"plugin:@typescript-eslint/recommended",
],
plugins: ["@typescript-eslint", "simple-import-sort"],
plugins: ["@typescript-eslint", "simple-import-sort", "eslint-plugin-sort-export-all"],
rules: {
/** Turn off strict enforcement */
"@typescript-eslint/ban-types": "off",
Expand All @@ -26,5 +26,6 @@ module.exports = {

/** Errors */
"simple-import-sort/imports": "error",
"sort-export-all/sort-export-all": "error",
},
};
20 changes: 10 additions & 10 deletions clients/client-accessanalyzer/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
export * from "./AccessAnalyzerClient";
export * from "./AccessAnalyzer";
export * from "./AccessAnalyzerClient";
export * from "./commands/ApplyArchiveRuleCommand";
export * from "./commands/CancelPolicyGenerationCommand";
export * from "./commands/CreateAccessPreviewCommand";
Expand All @@ -14,27 +14,27 @@ export * from "./commands/GetArchiveRuleCommand";
export * from "./commands/GetFindingCommand";
export * from "./commands/GetGeneratedPolicyCommand";
export * from "./commands/ListAccessPreviewFindingsCommand";
export * from "./pagination/ListAccessPreviewFindingsPaginator";
export * from "./commands/ListAccessPreviewsCommand";
export * from "./pagination/ListAccessPreviewsPaginator";
export * from "./commands/ListAnalyzedResourcesCommand";
export * from "./pagination/ListAnalyzedResourcesPaginator";
export * from "./commands/ListAnalyzersCommand";
export * from "./pagination/ListAnalyzersPaginator";
export * from "./commands/ListArchiveRulesCommand";
export * from "./pagination/ListArchiveRulesPaginator";
export * from "./commands/ListFindingsCommand";
export * from "./pagination/ListFindingsPaginator";
export * from "./commands/ListPolicyGenerationsCommand";
export * from "./pagination/ListPolicyGenerationsPaginator";
export * from "./commands/ListTagsForResourceCommand";
export * from "./commands/StartPolicyGenerationCommand";
export * from "./commands/StartResourceScanCommand";
export * from "./commands/TagResourceCommand";
export * from "./pagination/ListAccessPreviewFindingsPaginator";
export * from "./commands/UntagResourceCommand";
export * from "./pagination/ListAccessPreviewsPaginator";
export * from "./commands/UpdateArchiveRuleCommand";
export * from "./pagination/ListAnalyzedResourcesPaginator";
export * from "./commands/UpdateFindingsCommand";
export * from "./pagination/ListAnalyzersPaginator";
export * from "./commands/ValidatePolicyCommand";
export * from "./pagination/ValidatePolicyPaginator";
export * from "./pagination/Interfaces";
export * from "./pagination/ListArchiveRulesPaginator";
export * from "./models/index";
export * from "./pagination/ListFindingsPaginator";
export * from "./pagination/Interfaces";
export * from "./pagination/ListPolicyGenerationsPaginator";
export * from "./pagination/ValidatePolicyPaginator";
2 changes: 1 addition & 1 deletion clients/client-account/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
export * from "./AccountClient";
export * from "./Account";
export * from "./AccountClient";
export * from "./commands/DeleteAlternateContactCommand";
export * from "./commands/GetAlternateContactCommand";
export * from "./commands/PutAlternateContactCommand";
Expand Down
22 changes: 11 additions & 11 deletions clients/client-acm-pca/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,33 +1,33 @@
export * from "./ACMPCAClient";
export * from "./ACMPCA";
export * from "./commands/CreateCertificateAuthorityCommand";
export * from "./ACMPCAClient";
export * from "./commands/CreateCertificateAuthorityAuditReportCommand";
export * from "./commands/CreateCertificateAuthorityCommand";
export * from "./commands/CreatePermissionCommand";
export * from "./commands/DeleteCertificateAuthorityCommand";
export * from "./commands/DeletePermissionCommand";
export * from "./commands/DeletePolicyCommand";
export * from "./commands/DescribeCertificateAuthorityCommand";
export * from "./commands/DescribeCertificateAuthorityAuditReportCommand";
export * from "./waiters/waitForAuditReportCreated";
export * from "./commands/GetCertificateCommand";
export * from "./waiters/waitForCertificateIssued";
export * from "./commands/DescribeCertificateAuthorityCommand";
export * from "./commands/GetCertificateAuthorityCertificateCommand";
export * from "./commands/GetCertificateAuthorityCsrCommand";
export * from "./waiters/waitForCertificateAuthorityCSRCreated";
export * from "./commands/GetCertificateCommand";
export * from "./commands/GetPolicyCommand";
export * from "./commands/ImportCertificateAuthorityCertificateCommand";
export * from "./commands/IssueCertificateCommand";
export * from "./commands/ListCertificateAuthoritiesCommand";
export * from "./pagination/ListCertificateAuthoritiesPaginator";
export * from "./commands/ListPermissionsCommand";
export * from "./pagination/ListPermissionsPaginator";
export * from "./commands/ListTagsCommand";
export * from "./pagination/ListTagsPaginator";
export * from "./commands/PutPolicyCommand";
export * from "./waiters/waitForAuditReportCreated";
export * from "./commands/RestoreCertificateAuthorityCommand";
export * from "./waiters/waitForCertificateIssued";
export * from "./commands/RevokeCertificateCommand";
export * from "./commands/TagCertificateAuthorityCommand";
export * from "./waiters/waitForCertificateAuthorityCSRCreated";
export * from "./commands/UntagCertificateAuthorityCommand";
export * from "./commands/UpdateCertificateAuthorityCommand";
export * from "./pagination/Interfaces";
export * from "./models/index";
export * from "./pagination/Interfaces";
export * from "./pagination/ListCertificateAuthoritiesPaginator";
export * from "./pagination/ListPermissionsPaginator";
export * from "./pagination/ListTagsPaginator";
8 changes: 4 additions & 4 deletions clients/client-acm/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
export * from "./ACMClient";
export * from "./ACM";
export * from "./ACMClient";
export * from "./commands/AddTagsToCertificateCommand";
export * from "./commands/DeleteCertificateCommand";
export * from "./commands/DescribeCertificateCommand";
export * from "./waiters/waitForCertificateValidated";
export * from "./commands/ExportCertificateCommand";
export * from "./commands/GetAccountConfigurationCommand";
export * from "./commands/GetCertificateCommand";
export * from "./commands/ImportCertificateCommand";
export * from "./commands/ListCertificatesCommand";
export * from "./pagination/ListCertificatesPaginator";
export * from "./commands/ListTagsForCertificateCommand";
export * from "./commands/PutAccountConfigurationCommand";
export * from "./commands/RemoveTagsFromCertificateCommand";
export * from "./commands/RenewCertificateCommand";
export * from "./commands/RequestCertificateCommand";
export * from "./waiters/waitForCertificateValidated";
export * from "./commands/ResendValidationEmailCommand";
export * from "./commands/UpdateCertificateOptionsCommand";
export * from "./pagination/Interfaces";
export * from "./models/index";
export * from "./pagination/Interfaces";
export * from "./pagination/ListCertificatesPaginator";
40 changes: 20 additions & 20 deletions clients/client-alexa-for-business/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
export * from "./AlexaForBusinessClient";
export * from "./AlexaForBusiness";
export * from "./AlexaForBusinessClient";
export * from "./commands/ApproveSkillCommand";
export * from "./commands/AssociateContactWithAddressBookCommand";
export * from "./commands/AssociateDeviceWithNetworkProfileCommand";
Expand Down Expand Up @@ -51,65 +51,65 @@ export * from "./commands/GetRoomCommand";
export * from "./commands/GetRoomSkillParameterCommand";
export * from "./commands/GetSkillGroupCommand";
export * from "./commands/ListBusinessReportSchedulesCommand";
export * from "./pagination/ListBusinessReportSchedulesPaginator";
export * from "./commands/ListConferenceProvidersCommand";
export * from "./pagination/ListConferenceProvidersPaginator";
export * from "./commands/ListDeviceEventsCommand";
export * from "./pagination/ListDeviceEventsPaginator";
export * from "./commands/ListGatewayGroupsCommand";
export * from "./pagination/ListGatewayGroupsPaginator";
export * from "./commands/ListGatewaysCommand";
export * from "./pagination/ListGatewaysPaginator";
export * from "./commands/ListSkillsCommand";
export * from "./pagination/ListSkillsPaginator";
export * from "./commands/ListSkillsStoreCategoriesCommand";
export * from "./pagination/ListSkillsStoreCategoriesPaginator";
export * from "./commands/ListSkillsStoreSkillsByCategoryCommand";
export * from "./pagination/ListSkillsStoreSkillsByCategoryPaginator";
export * from "./commands/ListSmartHomeAppliancesCommand";
export * from "./pagination/ListSmartHomeAppliancesPaginator";
export * from "./commands/ListTagsCommand";
export * from "./pagination/ListTagsPaginator";
export * from "./commands/PutConferencePreferenceCommand";
export * from "./pagination/ListBusinessReportSchedulesPaginator";
export * from "./commands/PutInvitationConfigurationCommand";
export * from "./pagination/ListConferenceProvidersPaginator";
export * from "./commands/PutRoomSkillParameterCommand";
export * from "./pagination/ListDeviceEventsPaginator";
export * from "./commands/PutSkillAuthorizationCommand";
export * from "./pagination/ListGatewayGroupsPaginator";
export * from "./commands/RegisterAVSDeviceCommand";
export * from "./pagination/ListGatewaysPaginator";
export * from "./commands/RejectSkillCommand";
export * from "./pagination/ListSkillsPaginator";
export * from "./commands/ResolveRoomCommand";
export * from "./pagination/ListSkillsStoreCategoriesPaginator";
export * from "./commands/RevokeInvitationCommand";
export * from "./pagination/ListSkillsStoreSkillsByCategoryPaginator";
export * from "./commands/SearchAddressBooksCommand";
export * from "./pagination/SearchAddressBooksPaginator";
export * from "./pagination/ListSmartHomeAppliancesPaginator";
export * from "./commands/SearchContactsCommand";
export * from "./pagination/SearchContactsPaginator";
export * from "./pagination/ListTagsPaginator";
export * from "./commands/SearchDevicesCommand";
export * from "./pagination/SearchDevicesPaginator";
export * from "./commands/SearchNetworkProfilesCommand";
export * from "./pagination/SearchNetworkProfilesPaginator";
export * from "./commands/SearchProfilesCommand";
export * from "./pagination/SearchProfilesPaginator";
export * from "./commands/SearchRoomsCommand";
export * from "./pagination/SearchRoomsPaginator";
export * from "./commands/SearchSkillGroupsCommand";
export * from "./pagination/SearchSkillGroupsPaginator";
export * from "./commands/SearchUsersCommand";
export * from "./pagination/SearchUsersPaginator";
export * from "./commands/SendAnnouncementCommand";
export * from "./commands/SendInvitationCommand";
export * from "./commands/StartDeviceSyncCommand";
export * from "./pagination/SearchAddressBooksPaginator";
export * from "./commands/StartSmartHomeApplianceDiscoveryCommand";
export * from "./pagination/SearchContactsPaginator";
export * from "./commands/TagResourceCommand";
export * from "./pagination/SearchDevicesPaginator";
export * from "./commands/UntagResourceCommand";
export * from "./pagination/SearchNetworkProfilesPaginator";
export * from "./commands/UpdateAddressBookCommand";
export * from "./pagination/SearchProfilesPaginator";
export * from "./commands/UpdateBusinessReportScheduleCommand";
export * from "./pagination/SearchRoomsPaginator";
export * from "./commands/UpdateConferenceProviderCommand";
export * from "./pagination/SearchSkillGroupsPaginator";
export * from "./commands/UpdateContactCommand";
export * from "./pagination/SearchUsersPaginator";
export * from "./commands/UpdateDeviceCommand";
export * from "./commands/UpdateGatewayCommand";
export * from "./commands/UpdateGatewayGroupCommand";
export * from "./commands/UpdateNetworkProfileCommand";
export * from "./commands/UpdateProfileCommand";
export * from "./commands/UpdateRoomCommand";
export * from "./commands/UpdateSkillGroupCommand";
export * from "./pagination/Interfaces";
export * from "./models/index";
export * from "./pagination/Interfaces";
12 changes: 6 additions & 6 deletions clients/client-amp/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
export * from "./AmpClient";
export * from "./Amp";
export * from "./AmpClient";
export * from "./commands/CreateAlertManagerDefinitionCommand";
export * from "./commands/CreateRuleGroupsNamespaceCommand";
export * from "./commands/CreateWorkspaceCommand";
Expand All @@ -9,17 +9,17 @@ export * from "./commands/DeleteWorkspaceCommand";
export * from "./commands/DescribeAlertManagerDefinitionCommand";
export * from "./commands/DescribeRuleGroupsNamespaceCommand";
export * from "./commands/DescribeWorkspaceCommand";
export * from "./waiters/waitForWorkspaceActive";
export * from "./waiters/waitForWorkspaceDeleted";
export * from "./commands/ListRuleGroupsNamespacesCommand";
export * from "./pagination/ListRuleGroupsNamespacesPaginator";
export * from "./commands/ListTagsForResourceCommand";
export * from "./commands/ListWorkspacesCommand";
export * from "./pagination/ListWorkspacesPaginator";
export * from "./commands/PutAlertManagerDefinitionCommand";
export * from "./commands/PutRuleGroupsNamespaceCommand";
export * from "./commands/TagResourceCommand";
export * from "./commands/UntagResourceCommand";
export * from "./commands/UpdateWorkspaceAliasCommand";
export * from "./pagination/Interfaces";
export * from "./models/index";
export * from "./waiters/waitForWorkspaceActive";
export * from "./pagination/Interfaces";
export * from "./waiters/waitForWorkspaceDeleted";
export * from "./pagination/ListRuleGroupsNamespacesPaginator";
export * from "./pagination/ListWorkspacesPaginator";
2 changes: 1 addition & 1 deletion clients/client-amplify/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
export * from "./AmplifyClient";
export * from "./Amplify";
export * from "./AmplifyClient";
export * from "./commands/CreateAppCommand";
export * from "./commands/CreateBackendEnvironmentCommand";
export * from "./commands/CreateBranchCommand";
Expand Down
8 changes: 4 additions & 4 deletions clients/client-amplifybackend/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
export * from "./AmplifyBackendClient";
export * from "./AmplifyBackend";
export * from "./AmplifyBackendClient";
export * from "./commands/CloneBackendCommand";
export * from "./commands/CreateBackendCommand";
export * from "./commands/CreateBackendAPICommand";
export * from "./commands/CreateBackendAuthCommand";
export * from "./commands/CreateBackendCommand";
export * from "./commands/CreateBackendConfigCommand";
export * from "./commands/CreateTokenCommand";
export * from "./commands/DeleteBackendCommand";
export * from "./commands/DeleteBackendAPICommand";
export * from "./commands/DeleteBackendAuthCommand";
export * from "./commands/DeleteBackendCommand";
export * from "./commands/DeleteTokenCommand";
export * from "./commands/GenerateBackendAPIModelsCommand";
export * from "./commands/GetBackendCommand";
export * from "./commands/GetBackendAPICommand";
export * from "./commands/GetBackendAPIModelsCommand";
export * from "./commands/GetBackendAuthCommand";
export * from "./commands/GetBackendCommand";
export * from "./commands/GetBackendJobCommand";
export * from "./commands/GetTokenCommand";
export * from "./commands/ImportBackendAuthCommand";
Expand Down
30 changes: 15 additions & 15 deletions clients/client-api-gateway/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
export * from "./APIGatewayClient";
export * from "./APIGateway";
export * from "./APIGatewayClient";
export * from "./commands/CreateApiKeyCommand";
export * from "./commands/CreateAuthorizerCommand";
export * from "./commands/CreateBasePathMappingCommand";
Expand Down Expand Up @@ -42,71 +42,71 @@ export * from "./commands/GenerateClientCertificateCommand";
export * from "./commands/GetAccountCommand";
export * from "./commands/GetApiKeyCommand";
export * from "./commands/GetApiKeysCommand";
export * from "./pagination/GetApiKeysPaginator";
export * from "./commands/GetAuthorizerCommand";
export * from "./commands/GetAuthorizersCommand";
export * from "./commands/GetBasePathMappingCommand";
export * from "./commands/GetBasePathMappingsCommand";
export * from "./pagination/GetBasePathMappingsPaginator";
export * from "./commands/GetClientCertificateCommand";
export * from "./commands/GetClientCertificatesCommand";
export * from "./pagination/GetClientCertificatesPaginator";
export * from "./commands/GetDeploymentCommand";
export * from "./commands/GetDeploymentsCommand";
export * from "./pagination/GetDeploymentsPaginator";
export * from "./commands/GetDocumentationPartCommand";
export * from "./commands/GetDocumentationPartsCommand";
export * from "./pagination/GetApiKeysPaginator";
export * from "./commands/GetDocumentationVersionCommand";
export * from "./commands/GetDocumentationVersionsCommand";
export * from "./commands/GetDomainNameCommand";
export * from "./commands/GetDomainNamesCommand";
export * from "./pagination/GetDomainNamesPaginator";
export * from "./pagination/GetBasePathMappingsPaginator";
export * from "./commands/GetExportCommand";
export * from "./commands/GetGatewayResponseCommand";
export * from "./pagination/GetClientCertificatesPaginator";
export * from "./commands/GetGatewayResponsesCommand";
export * from "./commands/GetIntegrationCommand";
export * from "./pagination/GetDeploymentsPaginator";
export * from "./commands/GetIntegrationResponseCommand";
export * from "./commands/GetMethodCommand";
export * from "./commands/GetMethodResponseCommand";
export * from "./commands/GetModelCommand";
export * from "./commands/GetModelsCommand";
export * from "./pagination/GetModelsPaginator";
export * from "./commands/GetModelTemplateCommand";
export * from "./commands/GetModelsCommand";
export * from "./pagination/GetDomainNamesPaginator";
export * from "./commands/GetRequestValidatorCommand";
export * from "./commands/GetRequestValidatorsCommand";
export * from "./commands/GetResourceCommand";
export * from "./commands/GetResourcesCommand";
export * from "./pagination/GetResourcesPaginator";
export * from "./commands/GetRestApiCommand";
export * from "./commands/GetRestApisCommand";
export * from "./pagination/GetRestApisPaginator";
export * from "./commands/GetSdkCommand";
export * from "./commands/GetSdkTypeCommand";
export * from "./commands/GetSdkTypesCommand";
export * from "./pagination/GetModelsPaginator";
export * from "./commands/GetStageCommand";
export * from "./commands/GetStagesCommand";
export * from "./commands/GetTagsCommand";
export * from "./commands/GetUsageCommand";
export * from "./pagination/GetUsagePaginator";
export * from "./commands/GetUsagePlanCommand";
export * from "./pagination/GetResourcesPaginator";
export * from "./commands/GetUsagePlanKeyCommand";
export * from "./commands/GetUsagePlanKeysCommand";
export * from "./pagination/GetUsagePlanKeysPaginator";
export * from "./pagination/GetRestApisPaginator";
export * from "./commands/GetUsagePlansCommand";
export * from "./pagination/GetUsagePlansPaginator";
export * from "./commands/GetVpcLinkCommand";
export * from "./commands/GetVpcLinksCommand";
export * from "./pagination/GetVpcLinksPaginator";
export * from "./commands/ImportApiKeysCommand";
export * from "./commands/ImportDocumentationPartsCommand";
export * from "./commands/ImportRestApiCommand";
export * from "./commands/PutGatewayResponseCommand";
export * from "./pagination/GetUsagePaginator";
export * from "./commands/PutIntegrationCommand";
export * from "./commands/PutIntegrationResponseCommand";
export * from "./commands/PutMethodCommand";
export * from "./pagination/GetUsagePlanKeysPaginator";
export * from "./commands/PutMethodResponseCommand";
export * from "./pagination/GetUsagePlansPaginator";
export * from "./commands/PutRestApiCommand";
export * from "./commands/TagResourceCommand";
export * from "./pagination/GetVpcLinksPaginator";
export * from "./commands/TestInvokeAuthorizerCommand";
export * from "./commands/TestInvokeMethodCommand";
export * from "./commands/UntagResourceCommand";
Expand All @@ -132,5 +132,5 @@ export * from "./commands/UpdateStageCommand";
export * from "./commands/UpdateUsageCommand";
export * from "./commands/UpdateUsagePlanCommand";
export * from "./commands/UpdateVpcLinkCommand";
export * from "./pagination/Interfaces";
export * from "./models/index";
export * from "./pagination/Interfaces";
2 changes: 1 addition & 1 deletion clients/client-apigatewaymanagementapi/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
export * from "./ApiGatewayManagementApiClient";
export * from "./ApiGatewayManagementApi";
export * from "./ApiGatewayManagementApiClient";
export * from "./commands/DeleteConnectionCommand";
export * from "./commands/GetConnectionCommand";
export * from "./commands/PostToConnectionCommand";
Expand Down
Loading

0 comments on commit 0a75f12

Please sign in to comment.