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

Lines changed: 2 additions & 2 deletions
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

Lines changed: 2 additions & 2 deletions
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

Lines changed: 4 additions & 4 deletions
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

Lines changed: 1 addition & 1 deletion
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) => {
Lines changed: 1 addition & 1 deletion
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

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)