Skip to content

fix: remove ts-ignore by converting to string[] #25195

fix: remove ts-ignore by converting to string[]

fix: remove ts-ignore by converting to string[] #25195

Triggered via pull request May 30, 2024 12:17
@emrysalemrysal
synchronize #14622
Status Success
Total duration 11s
Artifacts

semantic-pull-requests.yml

on: pull_request_target
Validate PR title
3s
Validate PR title
Fit to window
Zoom out
Zoom in

Annotations

110 warnings
apps/web/test/utils/bookingScenario/bookingScenario.ts#L347
[@calcom/eslint/no-prisma-include-true] Do not pass argument object with include: { AnyPropertyName: true } to prisma methods
apps/web/lib/orgMigration.ts#L377
[@calcom/eslint/no-prisma-include-true] Do not pass argument object with include: { AnyPropertyName: true } to prisma methods
packages/app-store/_utils/useAddAppMutation.ts#L30
[@typescript-eslint/no-unused-vars] 'useAddAppMutationVariables' is defined but never used. Allowed unused vars must match /^_/u.
apps/web/test/utils/bookingScenario/bookingScenario.ts#L348
[@calcom/eslint/no-prisma-include-true] Do not pass argument object with include: { AnyPropertyName: true } to prisma methods
apps/web/lib/team/[slug]/[type]/getServerSideProps.tsx#L26
[@typescript-eslint/no-unused-vars] 'queryDuration' is assigned a value but never used. Allowed unused vars must match /^_/u.
apps/web/test/utils/bookingScenario/bookingScenario.ts#L479
[@calcom/eslint/no-prisma-include-true] Do not pass argument object with include: { AnyPropertyName: true } to prisma methods
packages/app-store/googlecalendar/tests/google-calendar.e2e.ts#L25
[playwright/no-skipped-test] Unexpected use of the `.skip()` annotation.
apps/web/middleware.ts#L14
[@typescript-eslint/no-explicit-any] Unexpected any. Specify a different type.
apps/web/modules/users/views/users-public-view.tsx#L29
[@typescript-eslint/no-unused-vars] 't' is assigned a value but never used. Allowed unused vars must match /^_/u.
apps/web/test/utils/bookingScenario/bookingScenario.ts#L480
[@calcom/eslint/no-prisma-include-true] Do not pass argument object with include: { AnyPropertyName: true } to prisma methods
packages/app-store/googlecalendar/tests/google-calendar.e2e.ts#L38
[playwright/no-skipped-test] Unexpected use of the `.skip()` annotation.
apps/web/test/utils/bookingScenario/bookingScenario.ts#L481
[@calcom/eslint/no-prisma-include-true] Do not pass argument object with include: { AnyPropertyName: true } to prisma methods
apps/web/modules/videos/ai/ai-transcribe.tsx#L10
[@typescript-eslint/no-unused-vars] 't' is assigned a value but never used. Allowed unused vars must match /^_/u.
packages/app-store/googlecalendar/tests/google-calendar.e2e.ts#L41
[playwright/no-skipped-test] Unexpected use of the `.skip()` annotation.
apps/web/test/utils/bookingScenario/bookingScenario.ts#L484
[@calcom/eslint/no-prisma-include-true] Do not pass argument object with include: { AnyPropertyName: true } to prisma methods
apps/web/modules/videos/ai/ai-transcribe.tsx#L27
[@typescript-eslint/no-unused-vars] 'ev' is defined but never used. Allowed unused args must match /^_/u.
packages/app-store/googlecalendar/tests/google-calendar.e2e.ts#L42
[playwright/no-skipped-test] Unexpected use of the `.skip()` annotation.
apps/web/test/utils/bookingScenario/bookingScenario.ts#L487
[@calcom/eslint/no-prisma-include-true] Do not pass argument object with include: { AnyPropertyName: true } to prisma methods
apps/web/modules/videos/ai/ai-transcribe.tsx#L38
[@typescript-eslint/no-unused-vars] 'ev' is defined but never used. Allowed unused args must match /^_/u.
packages/app-store/googlecalendar/tests/google-calendar.e2e.ts#L60
[playwright/no-skipped-test] Unexpected use of the `.skip()` annotation.
apps/web/test/utils/bookingScenario/expects.ts#L174
[@typescript-eslint/no-non-null-assertion] Forbidden non-null assertion.
apps/web/pages/api/auth/two-factor/totp/disable.ts#L26
[@calcom/eslint/no-prisma-include-true] Do not pass argument object with include: { AnyPropertyName: true } to prisma methods
packages/app-store/googlecalendar/tests/google-calendar.e2e.ts#L72
[playwright/no-skipped-test] Unexpected use of the `.skip()` annotation.
apps/web/test/utils/bookingScenario/expects.ts#L390
[@calcom/eslint/no-prisma-include-true] Do not pass argument object with include: { AnyPropertyName: true } to prisma methods
apps/web/pages/api/auth/two-factor/totp/setup.ts#L28
[@calcom/eslint/no-prisma-include-true] Do not pass argument object with include: { AnyPropertyName: true } to prisma methods
packages/app-store/googlecalendar/tests/google-calendar.e2e.ts#L77
[playwright/no-skipped-test] Unexpected use of the `.skip()` annotation.
apps/web/test/utils/bookingScenario/expects.ts#L773
[@typescript-eslint/no-unused-vars] 'organizer' is defined but never used. Allowed unused args must match /^_/u.
apps/web/pages/api/send-daily-video-transcript.ts#L71
[@typescript-eslint/no-unused-vars] 'meeting_id' is assigned a value but never used. Allowed unused vars must match /^_/u.
packages/app-store/googlecalendar/tests/google-calendar.e2e.ts#L104
[playwright/no-skipped-test] Unexpected use of the `.skip()` annotation.
apps/web/pages/apps/installation/[[...step]].tsx#L125
[react-hooks/exhaustive-deps] React Hook useEffect has a missing dependency: 'formMethods'. Either include it or remove the dependency array.
packages/app-store/googlecalendar/tests/testUtils.ts#L110
[@typescript-eslint/no-explicit-any] Unexpected any. Specify a different type.
apps/web/pages/settings/my-account/calendars.tsx#L12
[@typescript-eslint/no-unused-vars] 'SkeletonLoader' is assigned a value but never used. Allowed unused vars must match /^_/u.
packages/app-store/jelly/lib/VideoApiAdapter.ts#L11
[@typescript-eslint/no-unused-vars] 'event' is defined but never used. Allowed unused args must match /^_/u.
apps/web/pages/settings/my-account/profile.tsx#L507
[@typescript-eslint/no-unused-vars] 'isFallbackImg' is defined but never used. Allowed unused args must match /^_/u.
packages/app-store/jelly/lib/VideoApiAdapter.ts#L32
[@typescript-eslint/no-unused-vars] 'event' is defined but never used. Allowed unused args must match /^_/u.
apps/web/pages/settings/my-account/profile.tsx#L509
[@typescript-eslint/no-unused-vars] 'userOrganization' is defined but never used. Allowed unused args must match /^_/u.
packages/app-store/jelly/lib/VideoApiAdapter.ts#L41
[@typescript-eslint/no-unused-vars] 'uid' is defined but never used. Allowed unused args must match /^_/u.
apps/web/pages/settings/organizations/new/index.tsx#L13
[@typescript-eslint/no-unused-vars] 'querySlug' is defined but never used. Allowed unused args must match /^_/u.
packages/app-store/jelly/lib/VideoApiAdapter.ts#L45
[@typescript-eslint/no-unused-vars] 'dateFrom' is defined but never used. Allowed unused args must match /^_/u.
apps/web/pages/settings/platform/oauth-clients/[clientId]/edit/index.tsx#L51
[@typescript-eslint/no-unused-vars] 'userPermissions' is assigned a value but never used. Allowed unused vars must match /^_/u.
packages/app-store/jelly/lib/VideoApiAdapter.ts#L45
[@typescript-eslint/no-unused-vars] 'dateTo' is defined but never used. Allowed unused args must match /^_/u.
apps/web/playwright/ab-tests-redirect.e2e.ts#L27
[playwright/no-conditional-in-test] Avoid having conditionals in tests
packages/app-store/paypal/components/EventTypeAppSettingsInterface.tsx#L35
[@typescript-eslint/no-unused-vars] 'setRequirePayment' is assigned a value but never used. Allowed unused elements of array destructuring patterns must match /^_/u.
apps/web/playwright/ab-tests-redirect.e2e.ts#L43
[playwright/no-conditional-in-test] Avoid having conditionals in tests
packages/app-store/paypal/components/EventTypeAppSettingsInterface.tsx#L48
[react-hooks/exhaustive-deps] React Hook useEffect has missing dependencies: 'getAppData', 'requirePayment', and 'setAppData'. Either include them or remove the dependency array. If 'getAppData' changes too often, find the parent component that defines it and wrap that definition in useCallback.
apps/web/playwright/ab-tests-redirect.e2e.ts#L59
[playwright/no-conditional-in-test] Avoid having conditionals in tests
apps/web/playwright/ab-tests-redirect.e2e.ts#L75
[playwright/no-conditional-in-test] Avoid having conditionals in tests
packages/app-store/routing-forms/components/getServerSidePropsSingleForm.ts#L92
[@typescript-eslint/no-unused-vars] 'u' is assigned a value but never used. Allowed unused vars must match /^_/u.
apps/web/playwright/ab-tests-redirect.e2e.ts#L91
[playwright/no-conditional-in-test] Avoid having conditionals in tests
packages/app-store/routing-forms/pages/route-builder/[...appPages].tsx#L149
[react-hooks/exhaustive-deps] React Hook useEffect has missing dependencies: 'eventOptions' and 'route'. Either include them or remove the dependency array. If 'setCustomEventTypeSlug' needs the current value of 'route', you can also switch to useReducer instead of useState and read 'route' in the reducer.
apps/web/playwright/ab-tests-redirect.e2e.ts#L107
[playwright/no-conditional-in-test] Avoid having conditionals in tests
packages/app-store/routing-forms/trpc/forms.handler.ts#L40
[@calcom/eslint/no-prisma-include-true] Do not pass argument object with include: { AnyPropertyName: true } to prisma methods
apps/web/playwright/ab-tests-redirect.e2e.ts#L123
[playwright/no-conditional-in-test] Avoid having conditionals in tests
packages/app-store/stripepayment/components/EventTypeAppCardInterface.tsx#L25
[@typescript-eslint/no-unused-vars] 'setRequirePayment' is assigned a value but never used. Allowed unused elements of array destructuring patterns must match /^_/u.
apps/web/playwright/app-store.e2e.ts#L13
[playwright/no-skipped-test] Unexpected use of the `.skip()` annotation.
packages/app-store/zapier/api/subscriptions/listBookings.ts#L18
[@typescript-eslint/no-unused-vars] 'userInfo' is assigned a value but never used. Allowed unused vars must match /^_/u.
packages/app-store/zapier/api/subscriptions/listBookings.ts#L23
[@typescript-eslint/no-unused-vars] 'teamInfo' is assigned a value but never used. Allowed unused vars must match /^_/u.
packages/ui/components/dialog/Dialog.tsx#L214
[@typescript-eslint/no-unused-vars] 'DialogCloseProps' is defined but never used. Allowed unused vars must match /^_/u.
apps/web/playwright/fixtures/bookings.ts#L94
[@calcom/eslint/no-prisma-include-true] Do not pass argument object with include: { AnyPropertyName: true } to prisma methods
packages/ui/components/form/datepicker/DatePicker.tsx#L17
[@typescript-eslint/no-unused-vars] 'minDate' is defined but never used. Allowed unused args must match /^_/u.
apps/web/playwright/fixtures/bookings.ts#L94
[@calcom/eslint/no-prisma-include-true] Do not pass argument object with include: { AnyPropertyName: true } to prisma methods
packages/ui/components/image-uploader/BannerUploader.tsx#L130
[react-hooks/exhaustive-deps] React Hook useEffect has missing dependencies: 'height', 't', and 'width'. Either include them or remove the dependency array.
apps/web/playwright/fixtures/users.ts#L602
[@calcom/eslint/no-prisma-include-true] Do not pass argument object with include: { AnyPropertyName: true } to prisma methods
apps/web/app/WithAppDirSsg.tsx#L5
[@typescript-eslint/no-explicit-any] Unexpected any. Specify a different type.
apps/web/playwright/fixtures/users.ts#L624
[@calcom/eslint/no-prisma-include-true] Do not pass argument object with include: { AnyPropertyName: true } to prisma methods
apps/web/app/WithAppDirSsr.tsx#L5
[@typescript-eslint/no-explicit-any] Unexpected any. Specify a different type.
apps/web/playwright/fixtures/users.ts#L654
[@calcom/eslint/no-prisma-include-true] Do not pass argument object with include: { AnyPropertyName: true } to prisma methods
apps/web/app/WithEmbedSSR.tsx#L12
[@typescript-eslint/no-explicit-any] Unexpected any. Specify a different type.
apps/web/playwright/fixtures/users.ts#L655
[@calcom/eslint/no-prisma-include-true] Do not pass argument object with include: { AnyPropertyName: true } to prisma methods
apps/web/app/future/apps/[slug]/[...pages]/page.tsx#L130
[@typescript-eslint/no-non-null-assertion] Forbidden non-null assertion.
apps/web/playwright/organization/booking.e2e.ts#L411
[playwright/no-conditional-in-test] Avoid having conditionals in tests
apps/web/app/layoutHOC.tsx#L9
[@typescript-eslint/no-explicit-any] Unexpected any. Specify a different type.
apps/web/playwright/out-of-office.e2e.ts#L14
[playwright/no-skipped-test] Unexpected use of the `.skip()` annotation.
apps/web/app/layoutHOC.tsx#L16
[@typescript-eslint/no-explicit-any] Unexpected any. Specify a different type.
apps/web/playwright/out-of-office.e2e.ts#L33
[playwright/no-skipped-test] Unexpected use of the `.skip()` annotation.
apps/web/playwright/payment-apps.e2e.ts#L235
[playwright/no-conditional-in-test] Avoid having conditionals in tests
apps/web/components/apps/AppPage.tsx#L130
[react-hooks/exhaustive-deps] React Hook useEffect has missing dependencies: 'mutation', 'searchParams', 'slug', 'type', and 'variant'. Either include them or remove the dependency array.
apps/web/playwright/payment-apps.e2e.ts#L281
[playwright/no-conditional-in-test] Avoid having conditionals in tests
apps/web/components/apps/installation/ConfigureStepCard.tsx#L63
[react-hooks/exhaustive-deps] React Hook useEffect has missing dependencies: 'categories', 'credentialId', 'getAppDataSetter', and 'slug'. Either include them or remove the dependency array.
apps/web/playwright/payment.e2e.ts#L17
[playwright/no-skipped-test] Unexpected use of the `.skip()` annotation.
apps/web/components/apps/installation/ConfigureStepCard.tsx#L151
[react-hooks/exhaustive-deps] React Hook useEffect has a missing dependency: 'setConfigureStep'. Either include it or remove the dependency array. If 'setConfigureStep' changes too often, find the parent component that defines it and wrap that definition in useCallback.
apps/web/components/eventtype/AIEventController.tsx#L100
[@typescript-eslint/no-unused-vars] 'err' is defined but never used. Allowed unused args must match /^_/u.
apps/web/playwright/payment.e2e.ts#L18
[playwright/no-skipped-test] Unexpected use of the `.skip()` annotation.
apps/web/components/eventtype/EventAvailabilityTab.tsx#L226
[react-hooks/exhaustive-deps] React Hook useEffect has missing dependencies: 'eventType.schedule', 'eventType.scheduleName', 'getValues', 'isChildrenManagedEventType', 'isManagedEventType', 'setValue', 't', and 'watchSchedule'. Either include them or remove the dependency array.
apps/web/playwright/profile.e2e.ts#L395
[playwright/no-conditional-in-test] Avoid having conditionals in tests
apps/web/components/eventtype/EventTeamTab.tsx#L282
[@typescript-eslint/no-unused-vars] 't' is assigned a value but never used. Allowed unused vars must match /^_/u.
apps/web/playwright/signup.e2e.ts#L194
[@typescript-eslint/no-non-null-assertion] Forbidden non-null assertion.
apps/web/components/eventtype/EventTypeSingleLayout.tsx#L287
[react-hooks/exhaustive-deps] React Hook useMemo has missing dependencies: 'eventType.id' and 'formMethods'. Either include them or remove the dependency array.
apps/web/playwright/teams.e2e.ts#L22
[playwright/no-skipped-test] Unexpected use of the `.skip()` annotation.
apps/web/playwright/teams.e2e.ts#L162
[@typescript-eslint/no-non-null-assertion] Forbidden non-null assertion.
apps/web/components/eventtype/EventTypeSingleLayout.tsx#L299
[react-hooks/exhaustive-deps] React Hook useMemo has a complex expression in the dependency array. Extract it to a separate variable so it can be statically checked.
apps/web/playwright/teams.e2e.ts#L167
[playwright/no-skipped-test] Unexpected use of the `.skip()` annotation.
apps/web/components/settings/SecondaryEmailModal.tsx#L49
[react-hooks/exhaustive-deps] React Hook useEffect has missing dependencies: 'clearErrorMessage' and 'formMethods'. Either include them or remove the dependency array. If 'clearErrorMessage' changes too often, find the parent component that defines it and wrap that definition in useCallback.
apps/web/playwright/teams.e2e.ts#L202
[playwright/no-skipped-test] Unexpected use of the `.skip()` annotation.
apps/web/components/settings/platform/oauth-clients/oauth-client-form/index.tsx#L44
[@typescript-eslint/no-unused-vars] 't' is assigned a value but never used. Allowed unused vars must match /^_/u.
apps/web/playwright/teams.e2e.ts#L205
[@typescript-eslint/no-non-null-assertion] Forbidden non-null assertion.
apps/web/lib/apps/[slug]/getStaticProps.tsx#L13
[@typescript-eslint/no-unused-vars] 'md' is assigned a value but never used. Allowed unused vars must match /^_/u.
apps/web/playwright/webhook.e2e.ts#L489
[@calcom/eslint/no-prisma-include-true] Do not pass argument object with include: { AnyPropertyName: true } to prisma methods
apps/web/lib/orgMigration.test.ts#L1001
[@calcom/eslint/no-prisma-include-true] Do not pass argument object with include: { AnyPropertyName: true } to prisma methods
apps/web/test/lib/team-event-types.test.ts#L79
[@typescript-eslint/no-unused-vars] 'test' is assigned a value but never used. Allowed unused vars must match /^_/u.
apps/web/lib/orgMigration.test.ts#L1082
[@calcom/eslint/no-prisma-include-true] Do not pass argument object with include: { AnyPropertyName: true } to prisma methods
apps/web/test/utils/bookingScenario/bookingScenario.ts#L205
[@calcom/eslint/no-prisma-include-true] Do not pass argument object with include: { AnyPropertyName: true } to prisma methods
apps/web/lib/orgMigration.test.ts#L1154
[@calcom/eslint/no-prisma-include-true] Do not pass argument object with include: { AnyPropertyName: true } to prisma methods
apps/web/test/utils/bookingScenario/bookingScenario.ts#L206
[@calcom/eslint/no-prisma-include-true] Do not pass argument object with include: { AnyPropertyName: true } to prisma methods
apps/web/lib/orgMigration.test.ts#L1265
[@calcom/eslint/no-prisma-include-true] Do not pass argument object with include: { AnyPropertyName: true } to prisma methods
apps/web/lib/orgMigration.test.ts#L1304
[@calcom/eslint/no-prisma-include-true] Do not pass argument object with include: { AnyPropertyName: true } to prisma methods
apps/web/lib/orgMigration.test.ts#L1353
[@calcom/eslint/no-prisma-include-true] Do not pass argument object with include: { AnyPropertyName: true } to prisma methods
apps/web/lib/orgMigration.ts#L261
[@calcom/eslint/no-prisma-include-true] Do not pass argument object with include: { AnyPropertyName: true } to prisma methods
apps/web/test/utils/bookingScenario/bookingScenario.ts#L207
[@calcom/eslint/no-prisma-include-true] Do not pass argument object with include: { AnyPropertyName: true } to prisma methods
apps/web/test/utils/bookingScenario/bookingScenario.ts#L208
[@calcom/eslint/no-prisma-include-true] Do not pass argument object with include: { AnyPropertyName: true } to prisma methods