Skip to content

Commit d95d002

Browse files
committed
chore: remove obsolete tslint comments
TSLint has been replaced by ESLint. Remove the remaining tslint disable comments that are no longer needed.
1 parent fc59d21 commit d95d002

File tree

3 files changed

+0
-3
lines changed

3 files changed

+0
-3
lines changed

packages/@aws-cdk/aws-ec2-alpha/lib/util.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -439,7 +439,6 @@ export class CidrBlockIpv6 {
439439
const blocks = this.parseBigIntParts(ipv6Address);
440440
let ipv6Number = BigInt(0);
441441
for (const block of blocks) {
442-
/* tslint:disable:no-bitwise */
443442
ipv6Number = (ipv6Number << BigInt(16)) + block;
444443
}
445444
return ipv6Number;

packages/aws-cdk-lib/aws-ec2/lib/vpc.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2770,7 +2770,6 @@ class ImportedSubnet extends Resource implements ISubnet, IPublicSubnet, IPrivat
27702770

27712771
public get ipv4CidrBlock(): string {
27722772
if (!this._ipv4CidrBlock) {
2773-
// tslint:disable-next-line: max-line-length
27742773
throw new ValidationError('CannotReferenceImportedSubnetS', 'You cannot reference an imported Subnet\'s IPv4 CIDR if it was not supplied. Add the ipv4CidrBlock when importing using Subnet.fromSubnetAttributes()', this);
27752774
}
27762775
return this._ipv4CidrBlock;

packages/aws-cdk-lib/aws-ecs/lib/cluster.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -799,7 +799,6 @@ export class Cluster extends Resource implements ICluster {
799799
// set the cluster name environment variable
800800
autoScalingGroup.addUserData(`[Environment]::SetEnvironmentVariable("ECS_CLUSTER", "${this.clusterName}", "Machine")`);
801801
autoScalingGroup.addUserData('[Environment]::SetEnvironmentVariable("ECS_ENABLE_AWSLOGS_EXECUTIONROLE_OVERRIDE", "true", "Machine")');
802-
// tslint:disable-next-line: max-line-length
803802
autoScalingGroup.addUserData('[Environment]::SetEnvironmentVariable("ECS_AVAILABLE_LOGGING_DRIVERS", \'["json-file","awslogs"]\', "Machine")');
804803

805804
// enable instance draining

0 commit comments

Comments
 (0)