fix(select): remove code causing excessive calls to the onValueChange prop #2946
Annotations
11 warnings
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Lint:
documentation/helpers/FAQ/Question.tsx#L38
Classnames 'h-sz-20, w-sz-20' could be replaced by the 'size-sz-20' shorthand!
|
Lint:
packages/components/checkbox/src/CheckboxIndicator.tsx#L13
Classnames 'h-full, w-full' could be replaced by the 'size-full' shorthand!
|
Lint:
packages/components/checkbox/src/CheckboxInput.styles.ts#L4
Classnames 'h-sz-24, w-sz-24' could be replaced by the 'size-sz-24' shorthand!
|
Lint:
packages/components/combobox/src/ComboboxClearButton.tsx#L19
Expected an assignment or function call and instead saw an expression
|
Lint:
packages/components/combobox/src/ComboboxContext.tsx#L137
Arrow function has too many lines (221). Maximum allowed is 200
|
Lint:
packages/components/combobox/src/ComboboxContext.tsx#L137
Arrow function has a complexity of 12. Maximum allowed is 8
|
Lint:
packages/components/combobox/src/ComboboxContext.tsx#L218
React Hook useEffect has missing dependencies: 'comboboxValue', 'itemsMap', and 'multiple'. Either include them or remove the dependency array. You can also replace multiple useState variables with useReducer if 'setSelectedItem' needs the current value of 'itemsMap'
|
Lint:
packages/components/combobox/src/ComboboxContext.tsx#L218
React Hook useEffect has a complex expression in the dependency array. Extract it to a separate variable so it can be statically checked
|
Lint:
packages/components/combobox/src/ComboboxContext.tsx#L235
React Hook useEffect has a missing dependency: 'autoFilter'. Either include it or remove the dependency array. If 'setFilteredItems' needs the current value of 'autoFilter', you can also switch to useReducer instead of useState and read 'autoFilter' in the reducer
|
Lint:
packages/components/combobox/src/ComboboxContext.tsx#L239
Method 'stateReducer' has a complexity of 12. Maximum allowed is 8
|
The logs for this run have expired and are no longer available.
Loading