Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Image validation and size optimization for Profile image upload from both front-end and back-end #513

Open
wants to merge 16 commits into
base: master
Choose a base branch
from

Merge branch 'feat/profiles2024/profileform' into feat/profiles2024/i…

afe899f
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Open

Image validation and size optimization for Profile image upload from both front-end and back-end #513

Merge branch 'feat/profiles2024/profileform' into feat/profiles2024/i…
afe899f
Select commit
Loading
Failed to load commit list.
GitHub Actions / ESLint succeeded Dec 5, 2024 in 0s

19 warnings

ESLint found 19 warnings

Annotations

Check warning on line 1 in csm_web/frontend/src/components/ImageUploader.tsx

See this annotation in the file changed.

@github-actions github-actions / ESLint

csm_web/frontend/src/components/ImageUploader.tsx#L1

'useEffect' is defined but never used. Allowed unused vars must match /^_/u (@typescript-eslint/no-unused-vars)

Check warning on line 12 in csm_web/frontend/src/components/enrollment_automation/EnrollmentAutomationTypes.tsx

See this annotation in the file changed.

@github-actions github-actions / ESLint

csm_web/frontend/src/components/enrollment_automation/EnrollmentAutomationTypes.tsx#L12

Unexpected any. Specify a different type (@typescript-eslint/no-explicit-any)

Check warning on line 15 in csm_web/frontend/src/components/enrollment_automation/calendar/CalendarTypes.tsx

See this annotation in the file changed.

@github-actions github-actions / ESLint

csm_web/frontend/src/components/enrollment_automation/calendar/CalendarTypes.tsx#L15

Unexpected any. Specify a different type (@typescript-eslint/no-explicit-any)

Check warning on line 21 in csm_web/frontend/src/components/enrollment_automation/calendar/CalendarTypes.tsx

See this annotation in the file changed.

@github-actions github-actions / ESLint

csm_web/frontend/src/components/enrollment_automation/calendar/CalendarTypes.tsx#L21

Unexpected any. Specify a different type (@typescript-eslint/no-explicit-any)

Check warning on line 40 in csm_web/frontend/src/components/enrollment_automation/coordinator/EditStage.tsx

See this annotation in the file changed.

@github-actions github-actions / ESLint

csm_web/frontend/src/components/enrollment_automation/coordinator/EditStage.tsx#L40

Unexpected any. Specify a different type (@typescript-eslint/no-explicit-any)

Check warning on line 40 in csm_web/frontend/src/components/enrollment_automation/coordinator/EditStage.tsx

See this annotation in the file changed.

@github-actions github-actions / ESLint

csm_web/frontend/src/components/enrollment_automation/coordinator/EditStage.tsx#L40

Unexpected any. Specify a different type (@typescript-eslint/no-explicit-any)

Check warning on line 297 in csm_web/frontend/src/components/enrollment_automation/coordinator/EditStage.tsx

See this annotation in the file changed.

@github-actions github-actions / ESLint

csm_web/frontend/src/components/enrollment_automation/coordinator/EditStage.tsx#L297

Unexpected any. Specify a different type (@typescript-eslint/no-explicit-any)

Check warning on line 624 in csm_web/frontend/src/components/enrollment_automation/coordinator/EditStage.tsx

See this annotation in the file changed.

@github-actions github-actions / ESLint

csm_web/frontend/src/components/enrollment_automation/coordinator/EditStage.tsx#L624

Unexpected any. Specify a different type (@typescript-eslint/no-explicit-any)

Check warning on line 41 in csm_web/frontend/src/components/section/CoordinatorAddStudentModal.tsx

See this annotation in the file changed.

@github-actions github-actions / ESLint

csm_web/frontend/src/components/section/CoordinatorAddStudentModal.tsx#L41

Unexpected any. Specify a different type (@typescript-eslint/no-explicit-any)

Check warning on line 9 in csm_web/frontend/src/tests/__transformers__/pathTransformer.ts

See this annotation in the file changed.

@github-actions github-actions / ESLint

csm_web/frontend/src/tests/__transformers__/pathTransformer.ts#L9

'options' is defined but never used. Allowed unused args must match /^_/u (@typescript-eslint/no-unused-vars)

Check warning on line 65 in csm_web/frontend/src/tests/section/StudentDropper.test.tsx

See this annotation in the file changed.

@github-actions github-actions / ESLint

csm_web/frontend/src/tests/section/StudentDropper.test.tsx#L65

Unexpected any. Specify a different type (@typescript-eslint/no-explicit-any)

Check warning on line 72 in csm_web/frontend/src/tests/section/StudentDropper.test.tsx

See this annotation in the file changed.

@github-actions github-actions / ESLint

csm_web/frontend/src/tests/section/StudentDropper.test.tsx#L72

Unexpected any. Specify a different type (@typescript-eslint/no-explicit-any)

Check warning on line 122 in csm_web/frontend/src/tests/section/StudentDropper.test.tsx

See this annotation in the file changed.

@github-actions github-actions / ESLint

csm_web/frontend/src/tests/section/StudentDropper.test.tsx#L122

Unexpected any. Specify a different type (@typescript-eslint/no-explicit-any)

Check warning on line 129 in csm_web/frontend/src/tests/section/StudentDropper.test.tsx

See this annotation in the file changed.

@github-actions github-actions / ESLint

csm_web/frontend/src/tests/section/StudentDropper.test.tsx#L129

Unexpected any. Specify a different type (@typescript-eslint/no-explicit-any)

Check warning on line 27 in csm_web/frontend/src/utils/api.tsx

See this annotation in the file changed.

@github-actions github-actions / ESLint

csm_web/frontend/src/utils/api.tsx#L27

Unexpected any. Specify a different type (@typescript-eslint/no-explicit-any)

Check warning on line 49 in csm_web/frontend/src/utils/queries/helpers.tsx

See this annotation in the file changed.

@github-actions github-actions / ESLint

csm_web/frontend/src/utils/queries/helpers.tsx#L49

Unexpected any. Specify a different type (@typescript-eslint/no-explicit-any)

Check warning on line 49 in csm_web/frontend/src/utils/queries/helpers.tsx

See this annotation in the file changed.

@github-actions github-actions / ESLint

csm_web/frontend/src/utils/queries/helpers.tsx#L49

Unexpected any. Specify a different type (@typescript-eslint/no-explicit-any)

Check warning on line 49 in csm_web/frontend/src/utils/queries/helpers.tsx

See this annotation in the file changed.

@github-actions github-actions / ESLint

csm_web/frontend/src/utils/queries/helpers.tsx#L49

Unexpected any. Specify a different type (@typescript-eslint/no-explicit-any)

Check warning on line 403 in csm_web/frontend/src/utils/queries/sections.tsx

See this annotation in the file changed.

@github-actions github-actions / ESLint

csm_web/frontend/src/utils/queries/sections.tsx#L403

Unexpected any. Specify a different type (@typescript-eslint/no-explicit-any)