Skip to content

Removed The Need For .js Extension For Imports #582

Removed The Need For .js Extension For Imports

Removed The Need For .js Extension For Imports #582

Triggered via pull request September 29, 2024 01:55
Status Failure
Total duration 54s
Artifacts

main.yml

on: pull_request
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

10 errors
Node.js 18: source/core/Ky.ts#L63
Expected an error object to be thrown.
Node.js 18: source/core/Ky.ts#L140
'@typescript-eslint/prefer-nullish-coalescing' rule is disabled but never reported.
Node.js 18: source/core/Ky.ts#L158
Invalid operand for a '+' operation. Operands must each be a number or string, allowing a string + any of: `boolean`, `null`, `RegExp`, `undefined`. Got `any`.
Node.js 18: source/core/Ky.ts#L161
Invalid operand for a '+' operation. Operands must each be a number or string, allowing a string + any of: `boolean`, `null`, `RegExp`, `undefined`. Got `any`.
Node.js 18: source/core/Ky.ts#L192
Invalid operand for a '+' operation. Operands must each be a number or string, allowing a string + any of: `boolean`, `null`, `RegExp`, `undefined`. Got `any`.
Node.js 18: source/index.ts#L11
'@typescript-eslint/promise-function-async' rule is disabled but never reported.
Node.js 18: source/index.ts#L15
'@typescript-eslint/promise-function-async' rule is disabled but never reported.
Node.js 18: source/utils/timeout.ts#L21
Expected the Promise rejection reason to be an Error.
Node.js 18: test/browser.ts#L335
This assertion is unnecessary since the receiver accepts the original type of the expression.
Node.js 18: test/headers.ts#L288
["unicorn"] is better written in dot notation.