refactor(CopyToClipboard): replaced class component by functional component #4223
ci.yml
on: pull_request
Verify Files
48s
Tests
53s
Annotations
2 errors and 10 warnings
Verify Files
Process completed with exit code 2.
|
Tests
Process completed with exit code 1.
|
Verify Files:
.storybook/decorators/withMobile.tsx#L14
React Hook React.useEffect has a missing dependency: 'setMobile'. Either include it or remove the dependency array
|
Verify Files:
.storybook/theme-addon/register.tsx#L27
React Hook React.useEffect has a missing dependency: 'api'. Either include it or remove the dependency array
|
Verify Files:
src/components/ActionTooltip/ActionTooltip.tsx#L75
Unexpected any. Specify a different type
|
Verify Files:
src/components/Hotkey/parse.ts#L34
Assignment to function parameter 'val'
|
Verify Files:
src/components/Hotkey/utils.ts#L2
Unexpected negated condition
|
Verify Files:
src/components/Icon/__stories__/Icon.stories.tsx#L10
Assignment to property of function parameter 'acc'
|
Verify Files:
src/components/List/List.tsx#L97
Unexpected any. Specify a different type
|
Verify Files:
src/components/List/List.tsx#L213
Forbidden non-null assertion
|
Verify Files:
src/components/List/List.tsx#L217
Forbidden non-null assertion
|
Verify Files:
src/components/List/__stories__/ListItem.stories.tsx#L44
Unexpected any. Specify a different type
|