Skip to content

Commit

Permalink
chore: fixing eslint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
TheOrangePuff committed Nov 21, 2024
1 parent 9b51794 commit 31a200e
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 43 deletions.
6 changes: 6 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,12 @@
{
"argsIgnorePattern": "^_"
}
],
"@nx/enforce-module-boundaries": [
"error",
{
"allow": ["@aligent/cdk-esbuild"]
}
]
}
},
Expand Down
2 changes: 1 addition & 1 deletion .prettierrc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"semi": true,
"singleQuote": false,
"singleQuote": true,
"arrowParens": "avoid",
"trailingComma": "es5"
}
38 changes: 0 additions & 38 deletions eslint.config.mjs

This file was deleted.

2 changes: 1 addition & 1 deletion packages/graphql-mesh-server/lib/fargate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import {
} from "aws-cdk-lib/aws-autoscaling";
import { ApplicationLoadBalancer } from "aws-cdk-lib/aws-elasticloadbalancingv2";
import { LogGroup } from "aws-cdk-lib/aws-logs";
import path = require("path");
import * as path from "path";
import { MetricOptions } from "aws-cdk-lib/aws-cloudwatch";

export interface MeshServiceProps {
Expand Down
2 changes: 1 addition & 1 deletion packages/graphql-mesh-server/lib/maintenance.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { NodejsFunction } from "aws-cdk-lib/aws-lambda-nodejs";
import { Construct } from "constructs";
import { FileSystem } from "aws-cdk-lib/aws-efs";
import { FargateService, MountPoint } from "aws-cdk-lib/aws-ecs";
import path = require("path");
import * as path from "path";
import { PolicyStatement } from "aws-cdk-lib/aws-iam";

interface MaintenanceProps {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export class CloudFrontCacheControl extends Construct {
options?.cacheKey ?? "x-prerender-requestid"
),
"process.env.PRERENDER_CACHE_MAX_AGE": JSON.stringify(
String(options?.maxAge) ?? "0"
String(options?.maxAge ?? 0)
),
},
}),
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.base.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,5 @@
"typeRoots": ["./node_modules/@types"],
"baseUrl": "."
},
"exclude": ["**/node_modules", "cdk.out", "**/handlers/**"]
"exclude": ["**/node_modules", "cdk.out"]
}

0 comments on commit 31a200e

Please sign in to comment.