Skip to content

Merge pull request #66 from AstraProtocol/dev #186

Merge pull request #66 from AstraProtocol/dev

Merge pull request #66 from AstraProtocol/dev #186

Triggered via push August 28, 2023 08:01
Status Success
Total duration 4m 31s
Artifacts

lint.yml

on: push
Matrix: Lint
Fit to window
Zoom out
Zoom in

Annotations

11 warnings
Lint (16)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v2, actions/cache@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 (16): src/components/ButtonConnect/NavigationConnect.tsx#L29
React Hook useCallback has missing dependencies: 'disconnect' and 'logout'. Either include them or remove the dependency array
Lint (16): src/components/Image/options.ts#L1
Assign object to a variable before exporting as module default
Lint (16): src/components/Layout.tsx#L52
React Hook useEffect has missing dependencies: 'activate', 'active', and 'connect'. Either include them or remove the dependency array
Lint (16): src/components/Layout.tsx#L58
React Hook useEffect has missing dependencies: '_needToChangeNetwork' and 'onPresentWalletWrongNetworkModal'. Either include them or remove the dependency array
Lint (16): src/components/Menu/hooks/useMenuItemsStatus.ts#L28
Assign literal to a variable before exporting as module default
Lint (16): src/components/Navbar/index.tsx#L88
React Hook useEffect has a missing dependency: '_setWalletFromLocalStorage'. Either include it or remove the dependency array
Lint (16): src/components/Navbar/index.tsx#L157
React Hook useMemo has missing dependencies: 'dismisMobileNav' and 'setLanguage'. Either include them or remove the dependency array
Lint (16): src/components/Wallet/WalletWrongNetworkModal.tsx#L25
React Hook useEffect has a missing dependency: 'onDismiss'. Either include it or remove the dependency array. If 'onDismiss' changes too often, find the parent component that defines it and wrap that definition in useCallback
Lint (16): src/hooks/useAuth.tsx#L62
React Hook useCallback has an unnecessary dependency: 't'. Either exclude it or remove the dependency array
Lint (16): src/utils/providers.ts#L8
Assign literal to a variable before exporting as module default