Permissions System #15
Annotations
19 errors and 5 warnings
typecheck
Object literal may only specify known properties, and 'skills' does not exist in type '{ id?: boolean | undefined; title?: boolean | undefined; desc?: boolean | undefined; embedId?: boolean | undefined; createdAt?: boolean | undefined; updatedAt?: boolean | undefined; }'.
|
typecheck
@amaxa/api#typecheck: command (/home/runner/work/amaxa/amaxa/packages/api) /home/runner/setup-pnpm/node_modules/.bin/pnpm run typecheck exited (2)
|
typecheck
Process completed with exit code 2.
|
format
@amaxa/validators#format: command (/home/runner/work/amaxa/amaxa/packages/validators) /home/runner/setup-pnpm/node_modules/.bin/pnpm run format --cache --cache-location node_modules/.cache/.prettiercache exited (1)
|
format
@amaxa/auth#format: command (/home/runner/work/amaxa/amaxa/packages/auth) /home/runner/setup-pnpm/node_modules/.bin/pnpm run format --cache --cache-location node_modules/.cache/.prettiercache exited (1)
|
format
@amaxa/db#format: command (/home/runner/work/amaxa/amaxa/packages/db) /home/runner/setup-pnpm/node_modules/.bin/pnpm run format --cache --cache-location node_modules/.cache/.prettiercache exited (1)
|
format
@amaxa/api#format: command (/home/runner/work/amaxa/amaxa/packages/api) /home/runner/setup-pnpm/node_modules/.bin/pnpm run format --cache --cache-location node_modules/.cache/.prettiercache exited (1)
|
format
@amaxa/nextjs#format: command (/home/runner/work/amaxa/amaxa/apps/nextjs) /home/runner/setup-pnpm/node_modules/.bin/pnpm run format --cache --cache-location node_modules/.cache/.prettiercache exited (2)
|
format
Process completed with exit code 2.
|
lint
Object literal may only specify known properties, and 'skills' does not exist in type '{ id?: boolean | undefined; title?: boolean | undefined; desc?: boolean | undefined; embedId?: boolean | undefined; createdAt?: boolean | undefined; updatedAt?: boolean | undefined; }'.
|
lint:
packages/api/src/router/tasks.ts#L49
Unnecessary conditional, expected left-hand side of `??` operator to be possibly null or undefined
|
lint:
packages/auth/src/actions.ts#L28
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator
|
lint:
packages/auth/src/config.ts#L60
Async method 'session' has no 'await' expression
|
lint:
apps/nextjs/src/app/(auth)/sign-in/page.tsx#L48
'data' is defined but never used. Allowed unused args must match /^_/u
|
lint:
apps/nextjs/src/app/(auth)/sign-out/page.tsx#L49
'data' is defined but never used. Allowed unused args must match /^_/u
|
lint:
apps/nextjs/src/app/(dashboard)/project/[id]/(root)/permissions/_components/add-user.tsx#L16
Forbidden non-null assertion
|
lint:
apps/nextjs/src/app/(home)/@modal/(...)guide/[id]/com.tsx#L8
Unsafe assignment of an `any` value
|
lint:
apps/nextjs/src/app/(home)/@modal/(...)guide/[id]/com.tsx#L15
Unsafe assignment of an `any` value
|
lint:
apps/nextjs/src/app/(home)/@modal/(...)guide/[id]/page.tsx#L4
Async function 'Page' has no 'await' expression
|
typecheck
The following actions use a deprecated Node.js version and will be forced to run on node20: pnpm/action-setup@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
format
The following actions use a deprecated Node.js version and will be forced to run on node20: pnpm/action-setup@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
lint
The following actions use a deprecated Node.js version and will be forced to run on node20: pnpm/action-setup@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
lint:
apps/nextjs/src/app/(home)/action-guides/_components/GuideCard.tsx#L13
The 'actionGuides' array makes the dependencies of useMemo Hook (at line 51) change on every render. To fix this, wrap the initialization of 'actionGuides' in its own useMemo() Hook
|
lint:
apps/nextjs/src/app/(home)/action-guides/_components/GuideCard.tsx#L38
React Hook useMemo has a missing dependency: 'actionGuides'. Either include it or remove the dependency array
|