Develop #2694
Annotations
10 errors and 8 warnings
Run npm run lint:
src/App.tsx#L13
This line has a length of 85. Maximum allowed is 80
|
Run npm run lint:
src/context/CartContext/CartContext.tsx#L46
Unexpected any. Specify a different type
|
Run npm run lint:
src/hooks/fetchProducts/useFetchProducts.ts#L30
'error' is already declared in the upper scope on line 7 column 10
|
Run npm run lint:
src/layout/Footer.tsx#L13
Unexpected console statement
|
Run npm run lint:
src/layout/Header.tsx#L14
Component definition is missing display name
|
Run npm run lint:
src/modules/AccessoriesPage/AccessoriesPage.tsx#L4
'lodash' should be listed in the project's dependencies. Run 'npm i -S lodash' to add it
|
Run npm run lint:
src/modules/AccessoriesPage/AccessoriesPage.tsx#L11
This line has a length of 99. Maximum allowed is 80
|
Run npm run lint:
src/modules/CartPage/CartPage.tsx#L28
Unexpected any. Specify a different type
|
Run npm run lint:
src/modules/CartPage/CartPage.tsx#L36
Unexpected any. Specify a different type
|
Run npm run lint:
src/modules/CartPage/CartPage.tsx#L41
Expected an assignment or function call and instead saw an expression
|
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/setup-node@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Run npm run lint:
src/modules/AccessoriesPage/AccessoriesPage.tsx#L38
React Hook useCallback received a function whose dependencies are unknown. Pass an inline function instead
|
Run npm run lint:
src/modules/HomePage/HomePage.tsx#L70
React Hook useEffect has a missing dependency: 'categories'. Either include it or remove the dependency array
|
Run npm run lint:
src/modules/PhonesPage/PhonesPage.tsx#L38
React Hook useCallback received a function whose dependencies are unknown. Pass an inline function instead
|
Run npm run lint:
src/modules/ProductDetailsPage/ProductDetailsPage.tsx#L96
React Hook useEffect has missing dependencies: 'fetchProducts' and 'fetchSuggestedProducts'. Either include them or remove the dependency array
|
Run npm run lint:
src/modules/ProductsPage/ProductsPage.tsx#L45
React Hook useCallback received a function whose dependencies are unknown. Pass an inline function instead
|
Run npm run lint:
src/modules/TabletsPage/TabletsPage.tsx#L36
React Hook useCallback received a function whose dependencies are unknown. Pass an inline function instead
|
Loading