Skip to content

Commit 714e7c9

Browse files
authored
chore: fix prettier formatting issues (#650)
1 parent 72d7ad0 commit 714e7c9

22 files changed

Lines changed: 40 additions & 107 deletions

.prettierrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
"semi": true,
33
"trailingComma": "none",
44
"printWidth": 150,
5-
"endOfLine": "lf"
5+
"endOfLine": "auto"
66
}

common/lib/plugins/bluegreen/blue_green_status_provider.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,7 @@ import { SubstituteConnectRouting } from "./routing/substitute_connect_routing";
3838
import { SuspendConnectRouting } from "./routing/suspend_connect_routing";
3939
import { ExecuteRouting } from "./routing/execute_routing";
4040
import { SuspendExecuteRouting } from "./routing/suspend_execute_routing";
41-
import {
42-
SuspendUntilCorrespondingHostFoundConnectRouting
43-
} from "./routing/suspend_until_corresponding_host_found_connect_routing";
41+
import { SuspendUntilCorrespondingHostFoundConnectRouting } from "./routing/suspend_until_corresponding_host_found_connect_routing";
4442
import { RejectConnectRouting } from "./routing/reject_connect_routing";
4543
import { getValueHash } from "./blue_green_utils";
4644

common/lib/plugins/efm/host_monitoring_connection_plugin.ts

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,7 @@
1414
limitations under the License.
1515
*/
1616

17-
import {
18-
HostInfo,
19-
AwsWrapperError,
20-
UnavailableHostError,
21-
HostAvailability
22-
} from "../../";
17+
import { HostInfo, AwsWrapperError, UnavailableHostError, HostAvailability } from "../../";
2318
import { PluginService } from "../../plugin_service";
2419
import { HostChangeOptions } from "../../host_change_options";
2520
import { OldConnectionSuggestionAction } from "../../old_connection_suggestion_action";

common/lib/plugins/read_write_splitting_plugin.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,7 @@
1515
*/
1616

1717
import { AbstractConnectionPlugin } from "../abstract_connection_plugin";
18-
import {
19-
HostInfo,
20-
FailoverError,
21-
HostRole
22-
} from "../";
18+
import { HostInfo, FailoverError, HostRole } from "../";
2319
import { PluginService } from "../plugin_service";
2420
import { HostListProviderService } from "../host_list_provider_service";
2521
import { OldConnectionSuggestionAction } from "../old_connection_suggestion_action";

common/lib/session_state_client.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
/*
22
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3-
3+
44
Licensed under the Apache License, Version 2.0 (the "License").
55
You may not use this file except in compliance with the License.
66
You may obtain a copy of the License at
7-
7+
88
http://www.apache.org/licenses/LICENSE-2.0
9-
9+
1010
Unless required by applicable law or agreed to in writing, software
1111
distributed under the License is distributed on an "AS IS" BASIS,
1212
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

examples/typescript_example/src/index.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
/*
22
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3-
3+
44
Licensed under the Apache License, Version 2.0 (the "License").
55
You may not use this file except in compliance with the License.
66
You may obtain a copy of the License at
7-
7+
88
http://www.apache.org/licenses/LICENSE-2.0
9-
9+
1010
Unless required by applicable law or agreed to in writing, software
1111
distributed under the License is distributed on an "AS IS" BASIS,
1212
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

mysql/lib/icp/mysql_internal_pool_client.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
/*
22
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3-
3+
44
Licensed under the Apache License, Version 2.0 (the "License").
55
You may not use this file except in compliance with the License.
66
You may obtain a copy of the License at
7-
7+
88
http://www.apache.org/licenses/LICENSE-2.0
9-
9+
1010
Unless required by applicable law or agreed to in writing, software
1111
distributed under the License is distributed on an "AS IS" BASIS,
1212
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

mysql/lib/mysql_client.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
/*
22
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3-
3+
44
Licensed under the Apache License, Version 2.0 (the "License").
55
You may not use this file except in compliance with the License.
66
You may obtain a copy of the License at
7-
7+
88
http://www.apache.org/licenses/LICENSE-2.0
9-
9+
1010
Unless required by applicable law or agreed to in writing, software
1111
distributed under the License is distributed on an "AS IS" BASIS,
1212
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

pg/lib/client.ts

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,7 @@
1414
limitations under the License.
1515
*/
1616

17-
import {
18-
QueryArrayConfig,
19-
QueryArrayResult,
20-
QueryConfig,
21-
QueryConfigValues,
22-
QueryResult,
23-
QueryResultRow,
24-
Submittable
25-
} from "pg";
17+
import { QueryArrayConfig, QueryArrayResult, QueryConfig, QueryConfigValues, QueryResult, QueryResultRow, Submittable } from "pg";
2618
import { AwsClient } from "../../common/lib/aws_client";
2719
import { PgConnectionUrlParser } from "./pg_connection_url_parser";
2820
import { DatabaseDialect, DatabaseType } from "../../common/lib/database_dialect/database_dialect";

pg/lib/icp/pg_internal_pool_client.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
/*
22
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3-
3+
44
Licensed under the Apache License, Version 2.0 (the "License").
55
You may not use this file except in compliance with the License.
66
You may obtain a copy of the License at
7-
7+
88
http://www.apache.org/licenses/LICENSE-2.0
9-
9+
1010
Unless required by applicable law or agreed to in writing, software
1111
distributed under the License is distributed on an "AS IS" BASIS,
1212
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

0 commit comments

Comments
 (0)