Update dependency @balena/lint to v9 #3389
Annotations
10 errors
Run tests:
src/bin/utils.ts#L2
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator
|
Run tests:
src/bin/utils.ts#L79
A `require()` style import is forbidden
|
Run tests:
src/config-loader/env.ts#L54
A `require()` style import is forbidden
|
Run tests:
src/data-server/sbvr-server.ts#L237
Expected an error object to be thrown
|
Run tests:
src/database-layer/db.ts#L191
Async arrow function 'rejectFn' has no 'await' expression
|
Run tests:
src/database-layer/db.ts#L202
Async arrow function 'rejectFn' has no 'await' expression
|
Run tests:
src/database-layer/db.ts#L422
Async method 'getTxLevelLock' has no 'await' expression
|
Run tests:
src/database-layer/db.ts#L491
A `require()` style import is forbidden
|
Run tests:
src/express-emulator/express.js#L64
Expected an error object to be thrown
|
Run tests:
src/express-emulator/express.js#L105
Expected the Promise rejection reason to be an Error
|
Loading