Skip to content

fix: corrected SetStateCallback and SetStateValue to SetStateAction i… #54

fix: corrected SetStateCallback and SetStateValue to SetStateAction i…

fix: corrected SetStateCallback and SetStateValue to SetStateAction i… #54

Triggered via push September 5, 2023 12:00
Status Failure
Total duration 47s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

ci.yml

on: push
Lint source files
37s
Lint source files
Check npm dependencies
28s
Check npm dependencies
Search for TODOs etc
5s
Search for TODOs etc
Check spelling with typos
4s
Check spelling with typos
Lint Markdown files
10s
Lint Markdown files
Enforce Conventional Commits
16s
Enforce Conventional Commits
Fit to window
Zoom out
Zoom in

Annotations

20 errors and 11 warnings
Lint Markdown files: README.md#L3
Inline HTML [Element: p]
Lint Markdown files: README.md#L4
Inline HTML [Element: a]
Lint Markdown files: README.md#L5
Inline HTML [Element: img]
Lint Markdown files: README.md#L8
Inline HTML [Element: a]
Lint Markdown files: README.md#L9
Inline HTML [Element: img]
Lint Markdown files: README.md#L16
Inline HTML [Element: p]
Lint Markdown files: README.md#L17
Inline HTML [Element: img]
Lint Markdown files: README.md#L19
Inline HTML [Element: img]
Lint Markdown files: README.md#L21
Inline HTML [Element: img]
Check npm dependencies
Process completed with exit code 1.
Lint source files: index.d.ts#L1
Missing @file
Lint source files: index.d.ts#L301
File has too many lines (331). Maximum allowed is 300
Lint source files: index.js#L1
Missing @file
Lint source files: index.js#L2
Expected 'multiple' syntax before 'single' syntax
Lint source files: index.js#L12
Missing return type on function
Lint source files: index.js#L17
Missing return type on function
Lint source files: index.js#L22
Missing return type on function
Lint source files: index.js#L27
Missing return type on function
Lint source files: index.js#L31
Missing return type on function
Lint source files: index.js#L35
Missing return type on function
Check spelling with typos
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@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 source files: src/components/ListEmpty.js#L5
Missing JSDoc comment
Lint source files: src/components/Picker.js#L52
Missing JSDoc comment
Lint source files: src/components/Picker.js#L221
React Hook useEffect has missing dependencies: 'ITEM_SCHEMA.value', 'items', 'multiple', and 'value'. Either include them or remove the dependency array
Lint source files: src/components/Picker.js#L237
React Hook useEffect has missing dependencies: 'closeOnBackPressed' and 'setOpen'. Either include them or remove the dependency array. If 'setOpen' changes too often, find the parent component that defines it and wrap that definition in useCallback
Lint source files: src/components/Picker.js#L256
React Hook useEffect has a missing dependency: 'ITEM_SCHEMA.value'. Either include it or remove the dependency array
Lint source files: src/components/Picker.js#L312
React Hook useEffect has missing dependencies: 'ITEM_SCHEMA.value', 'multiple', and 'onChangeValue'. Either include them or remove the dependency array. If 'onChangeValue' changes too often, find the parent component that defines it and wrap that definition in useCallback
Lint source files: src/components/Picker.js#L333
'scroll' was used before it was defined
Lint source files: src/components/Picker.js#L335
React Hook useEffect has missing dependencies: 'autoScroll' and 'scroll'. Either include them or remove the dependency array
Lint source files: src/components/Picker.js#L454
React Hook useCallback has a missing dependency: 'ITEM_SCHEMA.value'. Either include it or remove the dependency array
Lint source files: src/components/Picker.js#L486
React Hook useMemo has missing dependencies: 'ITEM_SCHEMA.parent' and 'ITEM_SCHEMA.value'. Either include them or remove the dependency array