Added action #39
Annotations
4 errors and 2 warnings
code-quality:
src/main.ts#L8
'listeners' is defined but never used
|
code-quality:
src/scripts/testing.ts#L1
'exec' is defined but never used
|
code-quality
> [email protected] lint
> npx eslint . -c ./.github/linters/.eslintrc.yml
/home/runner/work/web-components-code-quality/web-components-code-quality/src/main.ts
8:22 error 'listeners' is defined but never used @typescript-eslint/no-unused-vars
/home/runner/work/web-components-code-quality/web-components-code-quality/src/scripts/comment.ts
27:7 warning Forbidden non-null assertion @typescript-eslint/no-non-null-assertion
/home/runner/work/web-components-code-quality/web-components-code-quality/src/scripts/testing.ts
1:10 error 'exec' is defined but never used @typescript-eslint/no-unused-vars
✖ 3 problems (2 errors, 1 warning)
|
code-quality
> [email protected] test
> npx jest --coverage
----------------|---------|----------|---------|---------|-------------------
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-128
src/scripts | 0 | 0 | 0 | 0 |
analyze.ts | 0 | 0 | 0 | 0 | 1-29
comment.ts | 0 | 0 | 0 | 0 | 1-47
formatting.ts | 0 | 0 | 0 | 0 | 1-13
testing.ts | 0 | 0 | 0 | 0 | 2-28
----------------|---------|----------|---------|---------|-------------------
|
code-quality
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
code-quality:
src/scripts/comment.ts#L27
Forbidden non-null assertion
|