Update dependency @balena/lint to v9 - autoclosed #1370
Annotations
10 errors
Run tests:
src/action.ts#L46
Prefer using an optional chain expression instead, as it's more concise and easier to read
|
Run tests:
src/balena-utils.ts#L121
Template literal expression is unnecessary and can be simplified
|
Run tests:
src/balena-utils.ts#L161
Expected the Promise rejection reason to be an Error
|
Run tests:
src/balena-utils.ts#L161
Returning a void expression from a function is forbidden. Please move it before the `return` statement
|
Run tests:
src/balena-utils.ts#L167
Expected the Promise rejection reason to be an Error
|
Run tests:
src/balena-utils.ts#L212
This assertion is unnecessary since it does not change the type of the expression
|
Run tests:
tests/src/balena-utils.spec.ts#L10
A `require()` style import is forbidden
|
Run tests:
tests/src/balena-utils.spec.ts#L88
Async method 'getAllByApplication' has no 'await' expression
|
Run tests:
tests/src/balena-utils.spec.ts#L116
'e' is defined but never used
|
Run tests:
tests/src/balena-utils.spec.ts#L145
'e' is defined but never used
|
Loading