Include unity activity file upload component (M2-7687) #1139
145 warnings
ESLint found 145 warnings
Annotations
Check warning on line 53 in src/__mocks__/LookupTableUploader.tsx
github-actions / ESLint
src/__mocks__/LookupTableUploader.tsx#L53
React Hook useEffect has a missing dependency: 'onFileReady'. Either include it or remove the dependency array. If 'onFileReady' changes too often, find the parent component that defines it and wrap that definition in useCallback (react-hooks/exhaustive-deps)
Check warning on line 68 in src/modules/Auth/pages/RecoverPassword/RecoverPassword.tsx
github-actions / ESLint
src/modules/Auth/pages/RecoverPassword/RecoverPassword.tsx#L68
Forbidden non-null assertion (@typescript-eslint/no-non-null-assertion)
Check warning on line 68 in src/modules/Auth/pages/RecoverPassword/RecoverPassword.tsx
github-actions / ESLint
src/modules/Auth/pages/RecoverPassword/RecoverPassword.tsx#L68
Forbidden non-null assertion (@typescript-eslint/no-non-null-assertion)
github-actions / ESLint
src/modules/Builder/components/ConditionRow/Condition/Condition.test.tsx#L207
Forbidden non-null assertion (@typescript-eslint/no-non-null-assertion)
Check warning on line 105 in src/modules/Builder/components/ConditionRow/ConditionRow.tsx
github-actions / ESLint
src/modules/Builder/components/ConditionRow/ConditionRow.tsx#L105
React Hook useCallback has missing dependencies: 'activityName', 'conditionPayloadName', 'conditionTypeName', 'setValue', and 'trigger'. Either include them or remove the dependency array (react-hooks/exhaustive-deps)
Check warning on line 128 in src/modules/Builder/components/ConditionRow/ConditionRow.tsx
github-actions / ESLint
src/modules/Builder/components/ConditionRow/ConditionRow.tsx#L128
React Hook useCallback has missing dependencies: 'clearErrors', 'conditionPayloadName', 'conditionPayloadSelectionName', and 'setValue'. Either include them or remove the dependency array (react-hooks/exhaustive-deps)
Check warning on line 131 in src/modules/Builder/components/ConditionRow/ConditionRow.tsx
github-actions / ESLint
src/modules/Builder/components/ConditionRow/ConditionRow.tsx#L131
React Hook useCallback has a missing dependency: 'onRemove'. Either include it or remove the dependency array (react-hooks/exhaustive-deps)
Check warning on line 133 in src/modules/Builder/components/ConditionRow/ConditionRow.tsx
github-actions / ESLint
src/modules/Builder/components/ConditionRow/ConditionRow.tsx#L133
React Hook useMemo has a missing dependency: 'options'. Either include it or remove the dependency array (react-hooks/exhaustive-deps)
github-actions / ESLint
src/modules/Builder/components/ConditionRow_old/Condition/Condition.test.tsx#L209
Forbidden non-null assertion (@typescript-eslint/no-non-null-assertion)
github-actions / ESLint
src/modules/Builder/components/ConditionRow_old/Condition/Condition.utils.ts#L67
Forbidden non-null assertion (@typescript-eslint/no-non-null-assertion)
github-actions / ESLint
src/modules/Builder/components/ConditionRow_old/Condition/Condition.utils.ts#L70
Forbidden non-null assertion (@typescript-eslint/no-non-null-assertion)
github-actions / ESLint
src/modules/Builder/components/ConditionRow_old/Condition/Condition.utils.ts#L103
Forbidden non-null assertion (@typescript-eslint/no-non-null-assertion)
github-actions / ESLint
src/modules/Builder/components/ConditionRow_old/Condition/Condition.utils.ts#L108
Forbidden non-null assertion (@typescript-eslint/no-non-null-assertion)
Check warning on line 107 in src/modules/Builder/components/ConditionRow_old/ConditionRow.tsx
github-actions / ESLint
src/modules/Builder/components/ConditionRow_old/ConditionRow.tsx#L107
React Hook useCallback has missing dependencies: 'activityName', 'conditionPayloadName', 'conditionTypeName', 'setValue', and 'trigger'. Either include them or remove the dependency array (react-hooks/exhaustive-deps)
Check warning on line 130 in src/modules/Builder/components/ConditionRow_old/ConditionRow.tsx
github-actions / ESLint
src/modules/Builder/components/ConditionRow_old/ConditionRow.tsx#L130
React Hook useCallback has missing dependencies: 'clearErrors', 'conditionPayloadName', 'conditionPayloadSelectionName', and 'setValue'. Either include them or remove the dependency array (react-hooks/exhaustive-deps)
Check warning on line 133 in src/modules/Builder/components/ConditionRow_old/ConditionRow.tsx
github-actions / ESLint
src/modules/Builder/components/ConditionRow_old/ConditionRow.tsx#L133
React Hook useCallback has a missing dependency: 'onRemove'. Either include it or remove the dependency array (react-hooks/exhaustive-deps)
Check warning on line 135 in src/modules/Builder/components/ConditionRow_old/ConditionRow.tsx
github-actions / ESLint
src/modules/Builder/components/ConditionRow_old/ConditionRow.tsx#L135
React Hook useMemo has a missing dependency: 'options'. Either include it or remove the dependency array (react-hooks/exhaustive-deps)
github-actions / ESLint
src/modules/Builder/components/ToggleItemContainer/ToggleItemContainer.types.ts#L14
Unexpected any. Specify a different type (@typescript-eslint/no-explicit-any)
github-actions / ESLint
src/modules/Builder/components/ToggleItemContainer/ToggleItemContainer.types.ts#L15
Unexpected any. Specify a different type (@typescript-eslint/no-explicit-any)
Check warning on line 13 in src/modules/Builder/features/ActivityAbout/ActivityAbout.hooks.ts
github-actions / ESLint
src/modules/Builder/features/ActivityAbout/ActivityAbout.hooks.ts#L13
Forbidden non-null assertion (@typescript-eslint/no-non-null-assertion)
Check warning on line 27 in src/modules/Builder/features/ActivityAbout/ActivityAbout.hooks.ts
github-actions / ESLint
src/modules/Builder/features/ActivityAbout/ActivityAbout.hooks.ts#L27
React Hook useEffect has missing dependencies: 'fieldName' and 'setValue'. Either include them or remove the dependency array (react-hooks/exhaustive-deps)
Check warning on line 44 in src/modules/Builder/features/ActivityAbout/ActivityAbout.hooks.ts
github-actions / ESLint
src/modules/Builder/features/ActivityAbout/ActivityAbout.hooks.ts#L44
React Hook useEffect has missing dependencies: 'fieldName' and 'setValue'. Either include them or remove the dependency array (react-hooks/exhaustive-deps)
github-actions / ESLint
src/modules/Builder/features/ActivityFlowSettings/ActivityFlowSettings.utils.test.tsx#L46
'id' is assigned a value but never used. Allowed unused vars must match /^_/u (unused-imports/no-unused-vars)
Check warning on line 56 in src/modules/Builder/features/ActivityItems/ActivityItems.utils.ts
github-actions / ESLint
src/modules/Builder/features/ActivityItems/ActivityItems.utils.ts#L56
Forbidden non-null assertion (@typescript-eslint/no-non-null-assertion)
Check warning on line 63 in src/modules/Builder/features/ActivityItems/ActivityItems.utils.ts
github-actions / ESLint
src/modules/Builder/features/ActivityItems/ActivityItems.utils.ts#L63
Forbidden non-null assertion (@typescript-eslint/no-non-null-assertion)