Skip to content

Metamask snap

Metamask snap #417

Triggered via pull request June 10, 2024 14:16
Status Failure
Total duration 1m 19s
Artifacts

main.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 12 warnings
unit-lint: src/App.tsx#L36
Missing return type on function
unit-lint: src/App.tsx#L36
Unexpected any. Specify a different type
unit-lint: src/App.tsx#L36
Unexpected any. Specify a different type
unit-lint: src/App.tsx#L81
Expected '===' and instead saw '=='
unit-lint: src/App.tsx#L117
Expected '===' and instead saw '=='
unit-lint: src/App.tsx#L129
Expected indentation of 10 space characters but found 20
unit-lint: src/App.tsx#L166
Missing return type on function
unit-lint: src/App.tsx#L174
'error' is already declared in the upper scope
unit-lint: src/common/Nav.tsx#L56
Assignment to property of function parameter 'ext'
unit-lint: src/common/Nav.tsx#L165
Redundant use of `await` on a return value
unit-lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/setup-node@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
unit-lint
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
unit-lint: src/App.tsx#L36
Missing return type on function
unit-lint: src/App.tsx#L36
Argument 'setSelExtensionName' should be typed with a non-any type
unit-lint: src/App.tsx#L36
Argument 'setWcPreloader' should be typed with a non-any type
unit-lint: src/App.tsx#L81
Forbidden non-null assertion
unit-lint: src/App.tsx#L84
React Hook useEffect has a missing dependency: 'reefState'. Either include it or remove the dependency array
unit-lint: src/App.tsx#L108
React Hook useEffect has missing dependencies: 'history' and 'selExtensionName'. Either include them or remove the dependency array
unit-lint: src/App.tsx#L164
React Hook useEffect has missing dependencies: 'setWcPreloader' and 'wcPreloader.value'. Either include them or remove the dependency array
unit-lint: src/common/Nav.tsx#L52
React Hook useEffect has a missing dependency: 'extension?.name'. Either include it or remove the dependency array
unit-lint: src/common/Nav.tsx#L59
React Hook useEffect has a missing dependency: 'availableExtensions'. Either include it or remove the dependency array. You can also do a functional update 'setAvailableExtensions(a => ...)' if you only need 'availableExtensions' in the 'setAvailableExtensions' call
unit-lint: src/common/Nav.tsx#L152
Forbidden non-null assertion