Skip to content

feat: add type validation / generate typescript declaration file #151

feat: add type validation / generate typescript declaration file

feat: add type validation / generate typescript declaration file #151

Triggered via pull request July 24, 2024 15:05
Status Failure
Total duration 1m 19s
Artifacts

ci.yml

on: pull_request
⬣ Lint
18s
⬣ Lint
πŸŒ‹ Types
14s
πŸŒ‹ Types
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

11 errors and 15 warnings
πŸŒ‹ Types: __tests__/always-return.js#L5
'new' expression, whose target lacks a construct signature, implicitly has an 'any' type.
πŸŒ‹ Types: __tests__/avoid-new.js#L5
'new' expression, whose target lacks a construct signature, implicitly has an 'any' type.
πŸŒ‹ Types: __tests__/catch-or-return.js#L5
'new' expression, whose target lacks a construct signature, implicitly has an 'any' type.
πŸŒ‹ Types: __tests__/index.js#L9
Property 'configs' does not exist on type '{ rules: { 'param-names': { meta: { type: "suggestion"; docs: { description: string; url: string; }; schema: { type: "object"; properties: { resolvePattern: { type: "string"; }; rejectPattern: { type: "string"; }; }; additionalProperties: false; }[]; messages: { ...; }; }; create(context: RuleContext): { ...; }; }; ...'.
πŸŒ‹ Types: __tests__/index.js#L10
Property 'configs' does not exist on type '{ rules: { 'param-names': { meta: { type: "suggestion"; docs: { description: string; url: string; }; schema: { type: "object"; properties: { resolvePattern: { type: "string"; }; rejectPattern: { type: "string"; }; }; additionalProperties: false; }[]; messages: { ...; }; }; create(context: RuleContext): { ...; }; }; ...'.
πŸŒ‹ Types: __tests__/index.js#L12
Property 'configs' does not exist on type '{ rules: { 'param-names': { meta: { type: "suggestion"; docs: { description: string; url: string; }; schema: { type: "object"; properties: { resolvePattern: { type: "string"; }; rejectPattern: { type: "string"; }; }; additionalProperties: false; }[]; messages: { ...; }; }; create(context: RuleContext): { ...; }; }; ...'.
πŸŒ‹ Types: __tests__/no-callback-in-promise.js#L5
'new' expression, whose target lacks a construct signature, implicitly has an 'any' type.
πŸŒ‹ Types: __tests__/no-multiple-resolved.js#L5
'new' expression, whose target lacks a construct signature, implicitly has an 'any' type.
πŸŒ‹ Types: __tests__/no-native.js#L10
'new' expression, whose target lacks a construct signature, implicitly has an 'any' type.
πŸŒ‹ Types: __tests__/no-native.js#L13
'new' expression, whose target lacks a construct signature, implicitly has an 'any' type.
⬣ Lint
Process completed with exit code 1.
πŸŒ‹ Types
The following actions uses Node.js version which is deprecated and will be forced to run on node20: gozala/typescript-error-reporter-action@v1.0.9. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
⬣ Lint: rules/no-multiple-resolved.js#L283
Missing JSDoc @returns declaration
⬣ Lint: rules/prefer-await-to-then.js#L49
Missing JSDoc @param "node" declaration
⬣ Lint: rules/prefer-await-to-then.js#L49
Missing JSDoc @returns declaration
⬣ Lint: rules/no-multiple-resolved.js#L283
Missing JSDoc @returns declaration
⬣ Lint: rules/prefer-await-to-then.js#L49
Missing JSDoc @returns declaration
⬣ Lint: rules/prefer-await-to-then.js#L52
Missing JSDoc @param "node" type
πŸ§ͺ Test (Node@22 - ESLint@8 - ubuntu-latest)
Codecov: Failed to properly create commit: The process '/home/runner/work/_actions/codecov/codecov-action/v4/dist/codecov' failed with exit code 1
πŸ§ͺ Test (Node@21.1.0 - ESLint@8 - ubuntu-latest)
Codecov: Failed to properly create commit: The process '/home/runner/work/_actions/codecov/codecov-action/v4/dist/codecov' failed with exit code 1
πŸ§ͺ Test (Node@18.18.0 - ESLint@8 - ubuntu-latest)
Codecov: Failed to properly create commit: The process '/home/runner/work/_actions/codecov/codecov-action/v4/dist/codecov' failed with exit code 1
πŸ§ͺ Test (Node@22 - ESLint@8 - macos-latest)
Codecov: Failed to properly create commit: The process '/Users/runner/work/_actions/codecov/codecov-action/v4/dist/codecov' failed with exit code 1
πŸ§ͺ Test (Node@22 - ESLint@9 - ubuntu-latest)
Codecov: Failed to properly create commit: The process '/home/runner/work/_actions/codecov/codecov-action/v4/dist/codecov' failed with exit code 1
πŸ§ͺ Test (Node@18.18.0 - ESLint@7.0.0 - ubuntu-latest)
Codecov: Failed to properly create commit: The process '/home/runner/work/_actions/codecov/codecov-action/v4/dist/codecov' failed with exit code 1
πŸ§ͺ Test (Node@20.9.0 - ESLint@8 - ubuntu-latest)
Codecov: Failed to properly create commit: The process '/home/runner/work/_actions/codecov/codecov-action/v4/dist/codecov' failed with exit code 1
πŸ§ͺ Test (Node@22 - ESLint@8 - windows-latest)
Codecov: Failed to properly create commit: The process 'D:\a\_actions\codecov\codecov-action\v4\dist\codecov.exe' failed with exit code 1