improve status label on barcode screen. Fix navigator warning #4179
Annotations
5 errors and 11 warnings
Run yarn lint:
src/navigation/courier/UpdateParcel.js#L34
Unsafe usage of optional chaining. If it short-circuits with 'undefined' the evaluation will throw TypeError
|
Run yarn lint:
src/navigation/courier/barcode/Barcode.js#L202
React Hook useEffect has a missing dependency: 'shouldNotificationBeDisplayed'. Either include it or remove the dependency array. If 'shouldNotificationBeDisplayed' changes too often, find the parent component that defines it and wrap that definition in useCallback
|
Run yarn lint:
src/navigation/courier/barcode/Barcode.js#L222
React Hook useEffect has a missing dependency: 'checkClientAction'. Either include it or remove the dependency array
|
Run yarn lint:
src/navigation/courier/barcode/BarcodeIncident.js#L46
React Hook useEffect has a missing dependency: 'navigation'. Either include it or remove the dependency array
|
Run yarn lint
Process completed with exit code 1.
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Run yarn lint:
src/API.js#L358
Promise executor functions should not be async
|
Run yarn lint:
src/API.js#L501
Do not access Object.prototype method 'hasOwnProperty' from target object
|
Run yarn lint:
src/API.js#L580
'refreshToken' is already declared in the upper scope on line 580 column 5
|
Run yarn lint:
src/API.js#L699
Do not access Object.prototype method 'hasOwnProperty' from target object
|
Run yarn lint:
src/API.js#L735
Do not access Object.prototype method 'hasOwnProperty' from target object
|
Run yarn lint:
src/API.js#L736
Do not access Object.prototype method 'hasOwnProperty' from target object
|
Run yarn lint:
src/API.js#L737
Do not access Object.prototype method 'hasOwnProperty' from target object
|
Run yarn lint:
src/AppUser.js#L95
Do not access Object.prototype method 'hasOwnProperty' from target object
|
Run yarn lint:
src/AppUser.js#L98
Do not access Object.prototype method 'hasOwnProperty' from target object
|
Run yarn lint:
src/__tests__/API.test.js#L120
Disabled test
|
Loading