Skip to content

fix tests for 2024 #2389

fix tests for 2024

fix tests for 2024 #2389

Triggered via pull request January 17, 2024 10:13
Status Success
Total duration 43s
Artifacts

js-lint.yml

on: pull_request
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