Added action #48
Annotations
8 errors and 1 warning
Code Quality:
src/scripts/analyze.ts#L11
'commentBody' is never reassigned. Use 'const' instead
|
Code Quality:
src/scripts/analyze.ts#L11
'errorMessages' is never reassigned. Use 'const' instead
|
Code Quality:
src/scripts/formatting.ts#L7
'commentBody' is never reassigned. Use 'const' instead
|
Code Quality:
src/scripts/formatting.ts#L7
'errorMessages' is never reassigned. Use 'const' instead
|
Code Quality:
src/scripts/testing.ts#L10
'commentBody' is never reassigned. Use 'const' instead
|
Code Quality:
src/scripts/testing.ts#L10
'errorMessages' is never reassigned. Use 'const' instead
|
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/analyze.ts
11:8 error 'commentBody' is never reassigned. Use 'const' instead prefer-const
11:21 error 'errorMessages' is never reassigned. Use 'const' instead prefer-const
/home/runner/work/web-components-code-quality/web-components-code-quality/src/scripts/formatting.ts
7:8 error 'commentBody' is never reassigned. Use 'const' instead prefer-const
7:21 error 'errorMessages' is never reassigned. Use 'const' instead prefer-const
/home/runner/work/web-components-code-quality/web-components-code-quality/src/scripts/testing.ts
10:8 error 'commentBody' is never reassigned. Use 'const' instead prefer-const
10:21 error 'errorMessages' is never reassigned. Use 'const' instead prefer-const
✖ 6 problems (6 errors, 0 warnings)
6 errors and 0 warnings potentially fixable with the `--fix` option.
|
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-146
src/scripts | 0 | 0 | 0 | 0 |
analyze.ts | 0 | 0 | 0 | 0 | 1-17
comment.ts | 0 | 0 | 0 | 0 | 1-50
formatting.ts | 0 | 0 | 0 | 0 | 1-13
testing.ts | 0 | 0 | 0 | 0 | 1-16
----------------|---------|----------|---------|---------|-------------------
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Loading