Added action #40
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
29: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-49
formatting.ts | 0 | 0 | 0 | 0 | 1-13
testing.ts | 0 | 0 | 0 | 0 | 2-28
----------------|---------|----------|---------|---------|-------------------
|
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#L29
Forbidden non-null assertion
|
Loading