From a9bdcfcfa70cc86fc0c5235aab99fcfc6c4abae0 Mon Sep 17 00:00:00 2001 From: Shuto Yukawa Date: Mon, 6 Apr 2026 19:50:46 +0900 Subject: [PATCH] chore(ec2): remove obsolete tslint directive from vpc.ts The project migrated from tslint to eslint. This removes a leftover `tslint:disable-next-line` comment that no longer has any effect. --- packages/aws-cdk-lib/aws-ec2/lib/vpc.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/packages/aws-cdk-lib/aws-ec2/lib/vpc.ts b/packages/aws-cdk-lib/aws-ec2/lib/vpc.ts index d7222954d07d2..829c0c1aab506 100644 --- a/packages/aws-cdk-lib/aws-ec2/lib/vpc.ts +++ b/packages/aws-cdk-lib/aws-ec2/lib/vpc.ts @@ -2771,7 +2771,6 @@ class ImportedSubnet extends Resource implements ISubnet, IPublicSubnet, IPrivat public get ipv4CidrBlock(): string { if (!this._ipv4CidrBlock) { - // tslint:disable-next-line: max-line-length throw new ValidationError(lit`CannotReferenceImportedSubnets`, 'You cannot reference an imported Subnet\'s IPv4 CIDR if it was not supplied. Add the ipv4CidrBlock when importing using Subnet.fromSubnetAttributes()', this); } return this._ipv4CidrBlock;