Metamask snap #398
Annotations
10 errors and 12 warnings
Run yarn lint:
src/App.tsx#L77
Expected '===' and instead saw '=='
|
Run yarn lint:
src/App.tsx#L89
Expected indentation of 10 space characters but found 20
|
Run yarn lint:
src/App.tsx#L115
Missing return type on function
|
Run yarn lint:
src/App.tsx#L128
Missing return type on function
|
Run yarn lint:
src/common/Nav.tsx#L52
Assignment to property of function parameter 'ext'
|
Run yarn lint:
src/common/Nav.tsx#L161
Redundant use of `await` on a return value
|
Run yarn lint:
src/context/MetamaskContext.tsx#L20
Unexpected any. Specify a different type
|
Run yarn lint:
src/context/MetamaskContext.tsx#L73
Missing return type on function
|
Run yarn lint:
src/context/MetamaskContext.tsx#L78
React Hook "useReducer" is called conditionally. React Hooks must be called in the exact same order in every component render. Did you accidentally call a React Hook after an early return?
|
Run yarn lint:
src/context/MetamaskContext.tsx#L82
React Hook "useEffect" is called conditionally. React Hooks must be called in the exact same order in every component render. Did you accidentally call a React Hook after an early return?
|
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/.
|
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/
|
Run yarn lint:
src/App.tsx#L68
React Hook useEffect has missing dependencies: 'history' and 'selExtensionName'. Either include them or remove the dependency array
|
Run yarn lint:
src/common/Nav.tsx#L48
React Hook useEffect has a missing dependency: 'extension?.name'. Either include it or remove the dependency array
|
Run yarn lint:
src/common/Nav.tsx#L55
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
|
Run yarn lint:
src/common/Nav.tsx#L148
Forbidden non-null assertion
|
Run yarn lint:
src/context/MetamaskContext.tsx#L73
Missing return type on function
|
Run yarn lint:
src/context/MetamaskContext.tsx#L91
React Hook useEffect has a complex expression in the dependency array. Extract it to a separate variable so it can be statically checked
|
Run yarn lint:
src/index.tsx#L14
Forbidden non-null assertion
|
Run yarn lint:
src/pages/bonds/BondsComponent.tsx#L90
Forbidden non-null assertion
|
Run yarn lint:
src/pages/bonds/BondsComponent.tsx#L350
React Hook useEffect has a missing dependency: 'updateButtonText'. Either include it or remove the dependency array
|
Run yarn lint:
src/pages/bonds/BondsComponent.tsx#L372
React Hook useEffect has a missing dependency: 'updateButtonText'. Either include it or remove the dependency array
|
The logs for this run have expired and are no longer available.
Loading