Added action #50
Annotations
6 errors and 1 warning
Code Quality:
src/scripts/testing.ts#L6
Functions that return promises must be async
|
Code Quality:
src/scripts/testing.ts#L14
Expected the Promise rejection reason to be an Error
|
Code Quality:
src/scripts/testing.ts#L17
Unexpected any. Specify a different type
|
Code Quality:
src/scripts/testing.ts#L18
Expected the Promise rejection reason to be an Error
|
Code Quality
> [email protected] lint
> npx eslint . -c ./.github/linters/.eslintrc.yml
/home/runner/work/web-components-code-quality/web-components-code-quality/src/scripts/testing.ts
6:57 error Functions that return promises must be async @typescript-eslint/promise-function-async
14:13 error Expected the Promise rejection reason to be an Error @typescript-eslint/prefer-promise-reject-errors
17:24 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
18:9 error Expected the Promise rejection reason to be an Error @typescript-eslint/prefer-promise-reject-errors
✖ 4 problems (4 errors, 0 warnings)
1 error and 0 warnings potentially fixable with the `--fix` option.
|
Code Quality
> [email protected] test
> npx jest
----------------|---------|----------|---------|---------|-------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
----------------|---------|----------|---------|---------|-------------------
All files | 0 | 0 | 0 | 0 |
src | 0 | 0 | 0 | 0 |
index.ts | 0 | 100 | 100 | 0 | 4-7
main.ts | 0 | 0 | 0 | 0 | 1-145
src/scripts | 0 | 0 | 0 | 0 |
analyze.ts | 0 | 0 | 0 | 0 | 1-17
comment.ts | 0 | 0 | 0 | 0 | 1-52
formatting.ts | 0 | 0 | 0 | 0 | 1-13
setup.ts | 0 | 0 | 0 | 0 | 1-13
testing.ts | 0 | 0 | 0 | 0 | 1-48
----------------|---------|----------|---------|---------|-------------------
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Loading