remove unneeded error; add license badge and usage info to readme #48
ci.yml
on: pull_request
Lint source files
27s
Check npm dependencies
52s
Search for TODOs etc
4s
Check spelling with typos
5s
Lint Markdown files
12s
Enforce Conventional Commits
15s
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]
|
Enforce Conventional Commits
You have commit messages with errors
⧗ input: removed unneeded error when values aren't equal; testing showed worked anyway
✖ 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
⧗ input: added usage section with link to relevant docs section to README.md
✖ 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
⧗ input: added licence badge to README.md
✖ 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
⧗ input: corrected package name in licence image alt text
✖ 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 source files:
index.d.ts#L301
File has too many lines (327). 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
|