feat: add type validation / generate typescript declaration file #151
ci.yml
on: pull_request
⬣ Lint
18s
π Types
14s
Matrix: test
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
|