M2-4835: Linting rules for mindlogger-admin
#6
75 warnings
ESLint found 75 warnings
Annotations
Check warning on line 60 in src/modules/Builder/components/ConditionRow/Condition/Condition.utils.ts
github-actions / ESLint
src/modules/Builder/components/ConditionRow/Condition/Condition.utils.ts#L60
Forbidden non-null assertion (@typescript-eslint/no-non-null-assertion)
Check warning on line 61 in src/modules/Builder/components/ConditionRow/Condition/Condition.utils.ts
github-actions / ESLint
src/modules/Builder/components/ConditionRow/Condition/Condition.utils.ts#L61
Forbidden non-null assertion (@typescript-eslint/no-non-null-assertion)
Check warning on line 93 in src/modules/Builder/components/ConditionRow/Condition/Condition.utils.ts
github-actions / ESLint
src/modules/Builder/components/ConditionRow/Condition/Condition.utils.ts#L93
Forbidden non-null assertion (@typescript-eslint/no-non-null-assertion)
Check warning on line 98 in src/modules/Builder/components/ConditionRow/Condition/Condition.utils.ts
github-actions / ESLint
src/modules/Builder/components/ConditionRow/Condition/Condition.utils.ts#L98
Forbidden non-null assertion (@typescript-eslint/no-non-null-assertion)
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 14 in src/modules/Builder/features/ActivityAbout/ActivityAbout.hooks.ts
github-actions / ESLint
src/modules/Builder/features/ActivityAbout/ActivityAbout.hooks.ts#L14
Forbidden non-null assertion (@typescript-eslint/no-non-null-assertion)
Check warning on line 28 in src/modules/Builder/features/ActivityAbout/ActivityAbout.hooks.ts
github-actions / ESLint
src/modules/Builder/features/ActivityAbout/ActivityAbout.hooks.ts#L28
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 45 in src/modules/Builder/features/ActivityAbout/ActivityAbout.hooks.ts
github-actions / ESLint
src/modules/Builder/features/ActivityAbout/ActivityAbout.hooks.ts#L45
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 52 in src/modules/Builder/features/ActivityItems/ActivityItems.utils.ts
github-actions / ESLint
src/modules/Builder/features/ActivityItems/ActivityItems.utils.ts#L52
Forbidden non-null assertion (@typescript-eslint/no-non-null-assertion)
Check warning on line 59 in src/modules/Builder/features/ActivityItems/ActivityItems.utils.ts
github-actions / ESLint
src/modules/Builder/features/ActivityItems/ActivityItems.utils.ts#L59
Forbidden non-null assertion (@typescript-eslint/no-non-null-assertion)
github-actions / ESLint
src/modules/Builder/features/ActivityItems/ItemConfiguration/Alerts/Alert/Alert.utils.ts#L33
Forbidden non-null assertion (@typescript-eslint/no-non-null-assertion)
github-actions / ESLint
src/modules/Builder/features/ActivityItems/ItemConfiguration/Alerts/Alert/Alert.utils.ts#L55
Forbidden non-null assertion (@typescript-eslint/no-non-null-assertion)
github-actions / ESLint
src/modules/Builder/features/ActivityItems/ItemConfiguration/Alerts/Alert/Alert.utils.ts#L63
Forbidden non-null assertion (@typescript-eslint/no-non-null-assertion)
github-actions / ESLint
src/modules/Builder/features/ActivityItems/ItemConfiguration/InputTypeItems/AudioPlayer/RecordAudio/RecordAudio.hooks.ts#L44
React Hook useCallback has a missing dependency: 'recordingBlob'. Either include it or remove the dependency array. You can also do a functional update 'setRecordingBlob(r => ...)' if you only need 'recordingBlob' in the 'setRecordingBlob' call (react-hooks/exhaustive-deps)
github-actions / ESLint
src/modules/Builder/features/ActivityItems/ItemConfiguration/OptionalItemsAndSettings/SkippedItemInVariablesModal/SkippedItemInVariablesModal.hooks.ts#L45
React Hook useEffect has missing dependencies: 'activityItems', 'fieldName', 'name', and 'trigger'. Either include them or remove the dependency array (react-hooks/exhaustive-deps)
github-actions / ESLint
src/modules/Builder/features/ActivitySettings/SubscalesConfiguration/SubscalesConfiguration.hooks.ts#L37
React Hook useEffect has missing dependencies: 'appendSystemItems', 'items', and 'removeSystemItems'. Either include them or remove the dependency array (react-hooks/exhaustive-deps)
Check warning on line 79 in src/modules/Builder/features/SaveAndPublish/SaveAndPublish.hooks.ts
github-actions / ESLint
src/modules/Builder/features/SaveAndPublish/SaveAndPublish.hooks.ts#L79
'key' is defined but never used. Allowed unused args must match /^_/u (unused-imports/no-unused-vars)
Check warning on line 83 in src/modules/Builder/features/SaveAndPublish/SaveAndPublish.hooks.ts
github-actions / ESLint
src/modules/Builder/features/SaveAndPublish/SaveAndPublish.hooks.ts#L83
'key' is defined but never used. Allowed unused args must match /^_/u (unused-imports/no-unused-vars)
Check warning on line 178 in src/modules/Builder/features/SaveAndPublish/SaveAndPublish.hooks.ts
github-actions / ESLint
src/modules/Builder/features/SaveAndPublish/SaveAndPublish.hooks.ts#L178
React Hook useEffect has missing dependencies: 'dispatch', 'onLogout', and 'setPromptVisible'. Either include them or remove the dependency array (react-hooks/exhaustive-deps)
Check warning on line 198 in src/modules/Builder/features/SaveAndPublish/SaveAndPublish.hooks.ts
github-actions / ESLint
src/modules/Builder/features/SaveAndPublish/SaveAndPublish.hooks.ts#L198
React Hook useCallback has missing dependencies: 'setConfirmedNavigation', 'setLastLocation', and 'setPromptVisible'. Either include them or remove the dependency array (react-hooks/exhaustive-deps)
Check warning on line 406 in src/modules/Builder/features/SaveAndPublish/SaveAndPublish.hooks.ts
github-actions / ESLint
src/modules/Builder/features/SaveAndPublish/SaveAndPublish.hooks.ts#L406
Forbidden non-null assertion (@typescript-eslint/no-non-null-assertion)
Check warning on line 19 in src/modules/Builder/hooks/useAppletPrivateKeySetter.ts
github-actions / ESLint
src/modules/Builder/hooks/useAppletPrivateKeySetter.ts#L19
'publicKey' is assigned a value but never used. Allowed unused vars must match /^_/u (unused-imports/no-unused-vars)
Check warning on line 25 in src/modules/Builder/hooks/useRedirectIfNoMatchedActivity.ts
github-actions / ESLint
src/modules/Builder/hooks/useRedirectIfNoMatchedActivity.ts#L25
React Hook useEffect has missing dependencies: 'activity', 'appletId', 'getValues', 'isNewApplet', and 'navigate'. Either include them or remove the dependency array (react-hooks/exhaustive-deps)
Check warning on line 27 in src/modules/Builder/hooks/useRedirectIfNoMatchedActivityFlow.ts
github-actions / ESLint
src/modules/Builder/hooks/useRedirectIfNoMatchedActivityFlow.ts#L27
React Hook useEffect has missing dependencies: 'appletId', 'getValues', 'isNewApplet', and 'navigate'. Either include them or remove the dependency array (react-hooks/exhaustive-deps)