Skip to content

use forked version of chai-as-promised for chai 5 compatibility #2405

use forked version of chai-as-promised for chai 5 compatibility

use forked version of chai-as-promised for chai 5 compatibility #2405

Triggered via push January 17, 2024 11:02
Status Success
Total duration 43s
Artifacts

js-lint.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
lint: app.js#L25
Unexpected console statement
lint: app.js#L49
Expected to return a value at the end of arrow function
lint: app.js#L96
Expected to return a value at the end of async arrow function
lint: lib/api.js#L22
Unexpected unnamed function
lint: lib/api.js#L32
Expected to return a value at the end of async arrow function
lint: lib/api.js#L64
Expected to return a value at the end of async arrow function
lint: lib/api.js#L171
Unexpected unnamed function
lint: lib/exceptions.js#L25
for..in loops iterate over the entire prototype chain, which is virtually never what you want. Use Object.{keys,values,entries}, and iterate over the resulting array
lint: lib/exceptions.js#L25
The body of a for-in should be wrapped in an if statement to filter unwanted properties from the prototype
lint: lib/exceptions.js#L41
Unexpected unnamed function