Skip to content

Commit 0f077c0

Browse files
authored
chore: enforce @typescript-eslint/member-delimiter-style (#28993)
Enforces that a `;` separates properties of an interface. ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
1 parent 9604c62 commit 0f077c0

File tree

304 files changed

+1486
-1501
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

304 files changed

+1486
-1501
lines changed

packages/@aws-cdk-testing/cli-integ/bin/stage-distribution.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ async function main() {
154154
}
155155

156156
async function validateDirectory(args: {
157-
DIRECTORY: string,
157+
DIRECTORY: string;
158158
}) {
159159
if (!await fs.pathExists(path.join(args.DIRECTORY, 'build.json'))) {
160160
throw new Error(`${args.DIRECTORY} does not look like a CDK dist directory (build.json missing)`);
@@ -191,7 +191,7 @@ async function doLogin(repo: TestRepository, usageDir: UsageDir, args: {
191191
}
192192

193193
async function publish(repo: TestRepository, usageDir: UsageDir, args: {
194-
DIRECTORY: string,
194+
DIRECTORY: string;
195195
npm?: boolean;
196196
python?: boolean;
197197
java?: boolean;

packages/@aws-cdk-testing/cli-integ/lib/github.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ import { Octokit } from '@octokit/rest';
22
import * as semver from 'semver';
33

44
export async function fetchPreviousVersion(token: string, options?: {
5-
priorTo?: string,
6-
majorVersion?: string,
5+
priorTo?: string;
6+
majorVersion?: string;
77
}) {
88
const github = new Octokit({ auth: token });
99
const releases = await github.repos.listReleases({

packages/@aws-cdk-testing/cli-integ/lib/staging/codeartifact.ts

+4-4
Original file line numberDiff line numberDiff line change
@@ -170,10 +170,10 @@ export class TestRepository {
170170
}
171171

172172
private async ensureRepository(name: string, options?: {
173-
readonly description?: string,
174-
readonly external?: string,
175-
readonly upstreams?: string[],
176-
readonly tags?: Record<string, string>,
173+
readonly description?: string;
174+
readonly external?: string;
175+
readonly upstreams?: string[];
176+
readonly tags?: Record<string, string>;
177177
}) {
178178
if (await this.repositoryExists(name)) { return; }
179179

packages/@aws-cdk-testing/cli-integ/tests/cli-integ-tests/cli.integtest.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -746,7 +746,7 @@ integTest('enableDiffNoFail', withDefaultFixture(async (fixture) => {
746746
await fs.writeFile(path.join(fixture.integTestDir, 'cdk.json'), JSON.stringify(cdkJson));
747747
}
748748

749-
type DiffParameters = { fail?: boolean, enableDiffNoFail: boolean };
749+
type DiffParameters = { fail?: boolean; enableDiffNoFail: boolean };
750750
}));
751751

752752
integTest('cdk diff --fail on multiple stacks exits with error if any of the stacks contains a diff', withDefaultFixture(async (fixture) => {
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/@aws-cdk-testing/framework-integ/test/aws-dynamodb/test/integ.global-replicas-provisioned.js.snapshot/aws-cdk-dynamodb-global-replicas-provisioned.assets.json

+7-7
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/@aws-cdk-testing/framework-integ/test/aws-dynamodb/test/integ.global-replicas-provisioned.js.snapshot/aws-cdk-dynamodb-global-replicas-provisioned.template.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@
291291
{
292292
"Fn::Sub": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}"
293293
},
294-
"/691ad79f315c75c071d70876e6f5d46133743719c69836008839c2a30161b602.json"
294+
"/385dc21acc91cd5566b3916587aa87a7acdda4c4a907a53e9c7bf25a117e817a.json"
295295
]
296296
]
297297
}

packages/@aws-cdk-testing/framework-integ/test/aws-dynamodb/test/integ.global-replicas-provisioned.js.snapshot/awscdkdynamodbglobalreplicasprovisionedawscdkawsdynamodbReplicaProviderEA32CB30.nested.template.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,7 @@
304304
"S3Bucket": {
305305
"Fn::Sub": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}"
306306
},
307-
"S3Key": "c014eecccbb25b3f9b2930f62990f5a373bb117a6c78807df15d78a5ac33e9cd.zip"
307+
"S3Key": "f6b251c5210167bd7ded2b4d904eed879427f3c53b8bdda0eb09eaa49c6d1db9.zip"
308308
},
309309
"Description": "AWS CDK resource provider framework - onEvent (aws-cdk-dynamodb-global-replicas-provisioned/@aws-cdk--aws-dynamodb.ReplicaProvider/Provider)",
310310
"Environment": {
@@ -441,7 +441,7 @@
441441
"S3Bucket": {
442442
"Fn::Sub": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}"
443443
},
444-
"S3Key": "c014eecccbb25b3f9b2930f62990f5a373bb117a6c78807df15d78a5ac33e9cd.zip"
444+
"S3Key": "f6b251c5210167bd7ded2b4d904eed879427f3c53b8bdda0eb09eaa49c6d1db9.zip"
445445
},
446446
"Description": "AWS CDK resource provider framework - isComplete (aws-cdk-dynamodb-global-replicas-provisioned/@aws-cdk--aws-dynamodb.ReplicaProvider/Provider)",
447447
"Environment": {
@@ -575,7 +575,7 @@
575575
"S3Bucket": {
576576
"Fn::Sub": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}"
577577
},
578-
"S3Key": "c014eecccbb25b3f9b2930f62990f5a373bb117a6c78807df15d78a5ac33e9cd.zip"
578+
"S3Key": "f6b251c5210167bd7ded2b4d904eed879427f3c53b8bdda0eb09eaa49c6d1db9.zip"
579579
},
580580
"Description": "AWS CDK resource provider framework - onTimeout (aws-cdk-dynamodb-global-replicas-provisioned/@aws-cdk--aws-dynamodb.ReplicaProvider/Provider)",
581581
"Environment": {

packages/@aws-cdk-testing/framework-integ/test/aws-dynamodb/test/integ.global-replicas-provisioned.js.snapshot/manifest.json

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/@aws-cdk-testing/framework-integ/test/aws-dynamodb/test/integ.global-replicas-provisioned.js.snapshot/tree.json

+4-4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/@aws-cdk-testing/framework-integ/test/aws-dynamodb/test/integ.global.js.snapshot/cdk-dynamodb-global-20191121.assets.json

+7-7
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/@aws-cdk-testing/framework-integ/test/aws-dynamodb/test/integ.global.js.snapshot/cdk-dynamodb-global-20191121.template.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@
246246
{
247247
"Fn::Sub": "cdk-hnb659fds-assets-${AWS::AccountId}-eu-west-1"
248248
},
249-
"/ec491a7cde45cb63a6fa419b5bc45469c1ef80e3406132b6fc92237e4f5ece32.json"
249+
"/9c540b1a44a6cb4b42c3c40239f3a9ee6605bf50563a292e91dec5245c15ff04.json"
250250
]
251251
]
252252
}

packages/@aws-cdk-testing/framework-integ/test/aws-dynamodb/test/integ.global.js.snapshot/cdkdynamodbglobal20191121awscdkawsdynamodbReplicaProviderB281C954.nested.template.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,7 @@
300300
"S3Bucket": {
301301
"Fn::Sub": "cdk-hnb659fds-assets-${AWS::AccountId}-eu-west-1"
302302
},
303-
"S3Key": "c014eecccbb25b3f9b2930f62990f5a373bb117a6c78807df15d78a5ac33e9cd.zip"
303+
"S3Key": "f6b251c5210167bd7ded2b4d904eed879427f3c53b8bdda0eb09eaa49c6d1db9.zip"
304304
},
305305
"Description": "AWS CDK resource provider framework - onEvent (cdk-dynamodb-global-20191121/@aws-cdk--aws-dynamodb.ReplicaProvider/Provider)",
306306
"Environment": {
@@ -437,7 +437,7 @@
437437
"S3Bucket": {
438438
"Fn::Sub": "cdk-hnb659fds-assets-${AWS::AccountId}-eu-west-1"
439439
},
440-
"S3Key": "c014eecccbb25b3f9b2930f62990f5a373bb117a6c78807df15d78a5ac33e9cd.zip"
440+
"S3Key": "f6b251c5210167bd7ded2b4d904eed879427f3c53b8bdda0eb09eaa49c6d1db9.zip"
441441
},
442442
"Description": "AWS CDK resource provider framework - isComplete (cdk-dynamodb-global-20191121/@aws-cdk--aws-dynamodb.ReplicaProvider/Provider)",
443443
"Environment": {
@@ -571,7 +571,7 @@
571571
"S3Bucket": {
572572
"Fn::Sub": "cdk-hnb659fds-assets-${AWS::AccountId}-eu-west-1"
573573
},
574-
"S3Key": "c014eecccbb25b3f9b2930f62990f5a373bb117a6c78807df15d78a5ac33e9cd.zip"
574+
"S3Key": "f6b251c5210167bd7ded2b4d904eed879427f3c53b8bdda0eb09eaa49c6d1db9.zip"
575575
},
576576
"Description": "AWS CDK resource provider framework - onTimeout (cdk-dynamodb-global-20191121/@aws-cdk--aws-dynamodb.ReplicaProvider/Provider)",
577577
"Environment": {

packages/@aws-cdk-testing/framework-integ/test/aws-dynamodb/test/integ.global.js.snapshot/manifest.json

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/@aws-cdk-testing/framework-integ/test/aws-dynamodb/test/integ.global.js.snapshot/tree.json

+4-4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/@aws-cdk-testing/framework-integ/test/aws-ec2/test/integ.core-cross-stack-string-list-references.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,9 @@ class ProducerStack extends Stack {
3737
}
3838

3939
export interface consumerDeployProps extends StackProps {
40-
stringListGetAtt: string[],
41-
stringListRef: CfnParameter,
42-
manualStringList: string[]
40+
stringListGetAtt: string[];
41+
stringListRef: CfnParameter;
42+
manualStringList: string[];
4343
}
4444

4545
class ConsumerStack extends Stack {

packages/@aws-cdk-testing/framework-integ/test/aws-elasticloadbalancingv2-actions/test/integ.cognito.ts

+6-6
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ import * as route53 from 'aws-cdk-lib/aws-route53';
1313
import * as route53targets from 'aws-cdk-lib/aws-route53-targets';
1414

1515
interface CognitoUserProps {
16-
userPool: cognito.UserPool
17-
username: string
18-
password: string
16+
userPool: cognito.UserPool;
17+
username: string;
18+
password: string;
1919
}
2020
/**
2121
* Cognito User for testing
@@ -77,9 +77,9 @@ class CognitoUser extends Construct {
7777
}
7878

7979
interface CognitoStackProps extends StackProps {
80-
hostedZoneId: string
81-
hostedZoneName: string
82-
domainName: string
80+
hostedZoneId: string;
81+
hostedZoneName: string;
82+
domainName: string;
8383
}
8484

8585
// This test can only be run as a dry-run at this time due to requiring a certificate

packages/@aws-cdk-testing/framework-integ/test/aws-elasticloadbalancingv2/test/integ.alb.oidc.ts

+6-6
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ import { AwsCustomResource, AwsCustomResourcePolicy, PhysicalResourceId } from '
1212
import { Construct } from 'constructs';
1313

1414
interface CognitoUserProps {
15-
userPool: cognito.UserPool
16-
username: string
17-
password: string
15+
userPool: cognito.UserPool;
16+
username: string;
17+
password: string;
1818
}
1919
/**
2020
* Cognito User for testing
@@ -76,9 +76,9 @@ class CognitoUser extends Construct {
7676
}
7777

7878
interface AlbOidcStackProps extends StackProps {
79-
hostedZoneId: string
80-
hostedZoneName: string
81-
domainName: string
79+
hostedZoneId: string;
80+
hostedZoneName: string;
81+
domainName: string;
8282
}
8383

8484
class AlbOidcStack extends Stack {

packages/@aws-cdk-testing/framework-integ/test/aws-lambda/test/integ.params-and-secrets.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ import {
1818
const app = new cdk.App();
1919

2020
interface StackUnderTestProps extends StackProps {
21-
architecture: Architecture,
21+
architecture: Architecture;
2222
}
2323

2424
class StackUnderTest extends Stack {

0 commit comments

Comments
 (0)