Skip to content

Commit

Permalink
linter
Browse files Browse the repository at this point in the history
  • Loading branch information
iankhou committed Jan 16, 2025
1 parent 2d0a107 commit c812de5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { Construct } from 'constructs';
import { ClusterScailabilityType, DatabaseCluster, DatabaseClusterProps, DBClusterStorageType } from './cluster';
import { PerformanceInsightRetention } from './props';
import { validateProps, ValidationRule } from '../../core/lib/helpers-internal';
import { Construct } from 'constructs';

const standardDatabaseRules: ValidationRule<DatabaseClusterProps>[] = [
{
Expand Down
2 changes: 1 addition & 1 deletion packages/aws-cdk-lib/aws-sqs/lib/validate-queue-props.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { Construct } from 'constructs';
import { Queue, QueueProps } from './index';
import { Token } from '../../core';
import { validateProps, ValidationRule } from '../../core/lib/helpers-internal';
import { Construct } from 'constructs';

function validateRange(value: number | undefined, minValue: number, maxValue: number): boolean {
return value !== undefined && !Token.isUnresolved(value) && (value < minValue || value > maxValue);
Expand Down

0 comments on commit c812de5

Please sign in to comment.