Update main.yml #26
Annotations
10 errors and 2 warnings
Lint with npm:
src/flights/checkout.jsx#L1
'React' is defined but never used
|
Lint with npm:
src/flights/checkout.jsx#L1
Replace `'react'` with `"react"`
|
Lint with npm:
src/flights/checkout.jsx#L2
Replace `'axios'` with `"axios"`
|
Lint with npm:
src/flights/checkout.jsx#L3
Replace `'query-string'` with `"query-string"`
|
Lint with npm:
src/flights/checkout.jsx#L12
Replace ``https://flightsbooking.me/transactions?token_ws=${token_ws}`` with `⏎··········`https://flightsbooking.me/transactions?token_ws=${token_ws}`,⏎········`
|
Lint with npm:
src/flights/checkout.jsx#L25
Replace `'APROVED'` with `"APROVED"`
|
Lint with npm:
src/flights/checkout.jsx#L26
Replace `············` with `··········`
|
Lint with npm:
src/flights/checkout.jsx#L27
Delete `····`
|
Lint with npm:
src/flights/checkout.jsx#L27
'user' is not defined
|
Lint with npm:
src/flights/checkout.jsx#L28
Delete `····`
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Lint with npm:
src/flights/recomendations.jsx#L61
React Hook useEffect has a missing dependency: 'getRecomendedFlights'. Either include it or remove the dependency array
|
Loading