Skip to content

upgrade insafe (#1730) #2162

upgrade insafe (#1730)

upgrade insafe (#1730) #2162

Triggered via push April 26, 2023 07:51
Status Success
Total duration 35s
Artifacts

js-lint.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
lint: app.js#L31
Unexpected console statement
lint: app.js#L55
Expected to return a value at the end of arrow function
lint: app.js#L102
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