diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c264766..58a67c1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -115,8 +115,5 @@ jobs: - name: GraphQL pagination check run: pnpm --filter '@cv/api' check:pagination - # Lint is intentionally NOT run yet. `pnpm lint` reports ~17 - # pre-existing rule violations on main (mostly `noConsole` in - # apps/api seed scripts and apps/worker bootstrap), plus a wave - # of formatter-only fixes biome's auto-fix would happily apply. - # Enabling lint in CI needs to be paired with a cleanup PR. + - name: Lint + run: pnpm lint diff --git a/apps/api/src/__tests__/app-module.compile.spec.ts b/apps/api/src/__tests__/app-module.compile.spec.ts index 6b1db89..156deb6 100644 --- a/apps/api/src/__tests__/app-module.compile.spec.ts +++ b/apps/api/src/__tests__/app-module.compile.spec.ts @@ -29,7 +29,8 @@ describe("AppModule (compile smoke test)", () => { process.env["JWT_SECRET"] = "test-jwt-secret-at-least-32-characters-long"; process.env["JWT_ACCESS_TOKEN_EXPIRY"] = "15m"; process.env["JWT_REFRESH_TOKEN_EXPIRY"] = "30d"; - process.env["ENCRYPTION_KEY"] = "test-encryption-key-at-least-32-chars-long"; + process.env["ENCRYPTION_KEY"] = + "test-encryption-key-at-least-32-chars-long"; }); it("resolves every provider in the graph", async () => { diff --git a/apps/api/src/modules/async-job/typed-async-job.bundle.ts b/apps/api/src/modules/async-job/typed-async-job.bundle.ts index 250190a..2d96aa6 100644 --- a/apps/api/src/modules/async-job/typed-async-job.bundle.ts +++ b/apps/api/src/modules/async-job/typed-async-job.bundle.ts @@ -11,7 +11,6 @@ import type { z } from "zod/v4"; import { TypedAsyncJobInterceptor } from "./typed-async-job.interceptor"; import { type CompletedPayload, - type CompletedPayloadOf, TYPED_ASYNC_JOB_META, TYPED_ASYNC_JOB_PAYLOAD, type TypedAsyncJobBundleOpts, diff --git a/apps/api/src/modules/user-settings/user-ai-settings.service.ts b/apps/api/src/modules/user-settings/user-ai-settings.service.ts index 34bd946..1534b92 100644 --- a/apps/api/src/modules/user-settings/user-ai-settings.service.ts +++ b/apps/api/src/modules/user-settings/user-ai-settings.service.ts @@ -1,9 +1,5 @@ import { PrismaService, TokenEncryptionService, User } from "@cv/core"; -import { - BadRequestException, - Injectable, - NotFoundException, -} from "@nestjs/common"; +import { Injectable, NotFoundException } from "@nestjs/common"; import { AiPreference } from "@prisma/client"; @Injectable() diff --git a/apps/worker/tsconfig.json b/apps/worker/tsconfig.json index 3472983..2e202a7 100644 --- a/apps/worker/tsconfig.json +++ b/apps/worker/tsconfig.json @@ -5,15 +5,8 @@ "preserveSymlinks": false, "baseUrl": ".", "paths": {}, - "types": [ - "node" - ] + "types": ["node"] }, - "include": [ - "src/**/*.ts" - ], - "exclude": [ - "node_modules", - "dist" - ] + "include": ["src/**/*.ts"], + "exclude": ["node_modules", "dist"] } diff --git a/packages/file-storage/tsconfig.json b/packages/file-storage/tsconfig.json index c133a94..822a010 100644 --- a/packages/file-storage/tsconfig.json +++ b/packages/file-storage/tsconfig.json @@ -7,9 +7,7 @@ "composite": true, "declaration": true }, - "include": [ - "src/**/*" - ], + "include": ["src/**/*"], "exclude": [ "dist", "node_modules", diff --git a/packages/handlebars/tsconfig.json b/packages/handlebars/tsconfig.json index efdcd64..173a9f9 100644 --- a/packages/handlebars/tsconfig.json +++ b/packages/handlebars/tsconfig.json @@ -7,9 +7,7 @@ "composite": true, "declaration": true }, - "include": [ - "src/**/*" - ], + "include": ["src/**/*"], "exclude": [ "dist", "node_modules", diff --git a/packages/mail/tsconfig.json b/packages/mail/tsconfig.json index 9673c1f..8a11263 100644 --- a/packages/mail/tsconfig.json +++ b/packages/mail/tsconfig.json @@ -7,9 +7,7 @@ "composite": true, "declaration": true }, - "include": [ - "src/**/*" - ], + "include": ["src/**/*"], "exclude": [ "dist", "node_modules", diff --git a/packages/routing/tsconfig.json b/packages/routing/tsconfig.json index dc4ae4f..f631538 100644 --- a/packages/routing/tsconfig.json +++ b/packages/routing/tsconfig.json @@ -5,9 +5,7 @@ "outDir": "./dist", "rootDir": "./src" }, - "include": [ - "src/**/*" - ], + "include": ["src/**/*"], "exclude": [ "dist", "node_modules", diff --git a/packages/ui/tsconfig.json b/packages/ui/tsconfig.json index 8b349ff..c83a8a9 100644 --- a/packages/ui/tsconfig.json +++ b/packages/ui/tsconfig.json @@ -9,9 +9,7 @@ "outDir": "./dist", "rootDir": "./src" }, - "include": [ - "src" - ], + "include": ["src"], "exclude": [ "node_modules", "dist",