Skip to content

Feature/edit company profile page 299 #1271

Feature/edit company profile page 299

Feature/edit company profile page 299 #1271

Triggered via pull request September 24, 2023 16:02
Status Failure
Total duration 1m 53s
Artifacts

ci.yml

on: pull_request
Matrix: audit
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 9 warnings
build: src/components/Company/Edit/EditCompanyProfileForm.js#L8
'FormControl' is defined but never used
build: src/components/Company/Edit/EditCompanyProfileForm.js#L19
'TextEditorComponent' is defined but never used
build: src/components/Company/Edit/EditCompanyProfileForm.js#L27
'turnImgIntoFile' is defined but never used
build: src/components/Company/Edit/EditCompanyProfileForm.js#L29
This line has a length of 153. Maximum allowed is 140
build: src/components/Company/Edit/EditCompanyProfileForm.js#L29
'FinishCompanyRegistrationController' is defined but never used
build: src/components/Company/Edit/EditCompanyProfileForm.js#L30
'../Registration/Finish/LogoUploadForm' import is duplicated
build: src/components/Company/Edit/EditCompanyProfileForm.js#L31
'CloudUpload' is defined but never used
build: src/components/Company/Edit/EditCompanyProfileForm.js#L55
Expected closing tag to match indentation of opening
build: src/components/Company/Edit/EditCompanyProfileForm.js#L90
Expected closing tag to match indentation of opening
build: src/components/Company/Edit/EditCompanyProfileForm.js#L111
'getCorrectEditedImage' is assigned a value but never used
audit (14.x)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v1, actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
build
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v1, actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
build: src/components/Company/Edit/EditCompanyProfileForm.js#L57
'classname' is missing in props validation
build: src/components/Company/Edit/EditCompanyProfileForm.js#L57
'image' is missing in props validation
build: src/components/Company/Edit/EditCompanyProfileForm.js#L57
'imageAlt' is missing in props validation
build: src/components/Company/Edit/EditCompanyProfileForm.js#L144
Assignments to the 'canEditRaceControl' variable from inside React Hook useEffect will be lost after each render. To preserve the value over time, store it in a useRef Hook and keep the mutable value in the '.current' property. Otherwise, you can move this variable directly inside useEffect
build: src/components/Company/Registration/Finish/LogoUploadForm.js#L53
React Hook useEffect has a missing dependency: 'watch'. Either include it or remove the dependency array. If 'watch' changes too often, find the parent component that defines it and wrap that definition in useCallback
build: src/components/Company/Registration/Finish/LogoUploadForm.js#L126
'InfoText' is missing in props validation
build: src/components/Offers/Edit/EditOfferForm.js#L68
Assignments to the 'canEditRaceControl' variable from inside React Hook useEffect will be lost after each render. To preserve the value over time, store it in a useRef Hook and keep the mutable value in the '.current' property. Otherwise, you can move this variable directly inside useEffect