Skip to content

fix: Adjust code for typescript-eslint v6 rules #830

fix: Adjust code for typescript-eslint v6 rules

fix: Adjust code for typescript-eslint v6 rules #830

Triggered via pull request August 15, 2023 19:33
Status Failure
Total duration 1m 21s
Artifacts

validate.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
Lint & Test: src/createCloudWatchClient.ts#L34
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator
Lint & Test: src/createLambdaExtensionClient.test.ts#L9
Unexpected empty arrow function
Lint & Test: src/createLambdaExtensionClient.ts#L72
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator
Lint & Test: src/createNoOpClient.ts#L11
Unexpected empty method 'increment'
Lint & Test: src/createNoOpClient.ts#L12
Unexpected empty method 'decrement'
Lint & Test: src/createNoOpClient.ts#L13
Unexpected empty method 'histogram'
Lint & Test: src/createNoOpClient.ts#L14
Unexpected empty method 'timing'
Lint & Test: src/createStatsDClient.ts#L12
Interface only has a call signature, you should use a function type instead
Lint & Test: src/createTimedSpan.test.ts#L77
Unexpected empty arrow function
Lint & Test: src/createTimedSpan.ts#L42
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator