Refactoring and improvements to work with encode images #117
Annotations
23 warnings
prep
The following actions uses node12 which is deprecated and will be forced to run on node16: styfle/[email protected], 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/
|
lint
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/
|
lint:
src/components/EncodeCanvas.js#L8
'openDatabase' is defined but never used
|
lint:
src/components/EncodeCanvas.js#L120
React Hook useEffect has missing dependencies: 'activeEncodeImageItem', 'map', and 'requestSAM'. Either include them or remove the dependency array
|
lint:
src/components/EncodeExpImp.js#L23
'resp' is assigned a value but never used
|
lint:
src/components/EncodeItem.js#L29
Expected '===' and instead saw '=='
|
lint:
src/components/EncodeItem.js#L53
Redundant alt attribute. Screen-readers already announce `img` tags as an image. You don’t need to use the words `image`, `photo,` or `picture` (or any specified custom words) in the alt prop
|
lint:
src/components/EncodeItem.js#L58
Expected '===' and instead saw '=='
|
lint:
src/components/EncodeItems.js#L65
React Hook useEffect has a missing dependency: 'dispatchEncodeItems'. Either include it or remove the dependency array
|
lint:
src/components/Header.js#L1
'useState' is defined but never used
|
lint:
src/components/Items.js#L36
React Hook useLayoutEffect has a missing dependency: 'dispatchSetItems'. Either include it or remove the dependency array
|
lint:
src/components/Modal.js#L1
'useState' is defined but never used
|
test
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/
|
test:
src/components/EncodeCanvas.js#L8
'openDatabase' is defined but never used
|
test:
src/components/EncodeCanvas.js#L120
React Hook useEffect has missing dependencies: 'activeEncodeImageItem', 'map', and 'requestSAM'. Either include them or remove the dependency array
|
test:
src/components/EncodeExpImp.js#L23
'resp' is assigned a value but never used
|
test:
src/components/EncodeItem.js#L29
Expected '===' and instead saw '=='
|
test:
src/components/EncodeItem.js#L53
Redundant alt attribute. Screen-readers already announce `img` tags as an image. You don’t need to use the words `image`, `photo,` or `picture` (or any specified custom words) in the alt prop
|
test:
src/components/EncodeItem.js#L58
Expected '===' and instead saw '=='
|
test:
src/components/EncodeItems.js#L65
React Hook useEffect has a missing dependency: 'dispatchEncodeItems'. Either include it or remove the dependency array
|
test:
src/components/Header.js#L1
'useState' is defined but never used
|
test:
src/components/Items.js#L36
React Hook useLayoutEffect has a missing dependency: 'dispatchSetItems'. Either include it or remove the dependency array
|
test:
src/components/Modal.js#L1
'useState' is defined but never used
|