Skip to content

Update index.d.ts

Update index.d.ts #50

Triggered via push September 4, 2023 20:25
Status Failure
Total duration 42s
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
33s
Lint source files
Check npm dependencies
29s
Check npm dependencies
Search for TODOs etc
3s
Search for TODOs etc
Check spelling with typos
6s
Check spelling with typos
Lint Markdown files
15s
Lint Markdown files
Enforce Conventional Commits
12s
Enforce Conventional Commits
Fit to window
Zoom out
Zoom in

Annotations

21 errors and 11 warnings
Enforce Conventional Commits
You have commit messages with errors ⧗ input: Update index.d.ts ✖ subject may not be empty [subject-empty] ✖ type may not be empty [type-empty] ✖ found 2 problems, 0 warnings ⓘ Get help: https://github.com/conventional-changelog/commitlint/#what-is-commitlint
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 (328). 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