Prepare to Toc service implementation #2441
Annotations
6 errors and 11 warnings
Verify Files:
src/commands/build/index.ts#L41
'key' is defined but never used. Allowed unused vars must match /^_/u
|
Verify Files:
src/logger/index.ts#L25
'prop' is defined but never used. Allowed unused vars must match /^_/u
|
Verify Files:
src/models.ts#L281
'key' is defined but never used. Allowed unused vars must match /^_/u
|
Verify Files:
src/steps/processPages.ts#L31
Replace `⏎····getDepth,⏎····joinSinglePageResults,⏎····transformToc,⏎····transformTocForSinglePage,⏎` with `getDepth,·joinSinglePageResults,·transformToc,·transformTocForSinglePage`
|
Verify Files:
src/utils/common.ts#L58
'p' is defined but never used. Allowed unused vars must match /^_/u
|
Verify Files
Process completed with exit code 1.
|
Verify Files
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Verify Files:
src/commands/build/index.ts#L277
Unexpected console statement
|
Verify Files:
src/commands/translate/index.ts#L169
Expected to return a value at the end of async method 'action'
|
Verify Files:
src/commands/translate/providers/yandex/provider.ts#L102
Unexpected any. Specify a different type
|
Verify Files:
src/commands/translate/providers/yandex/provider.ts#L210
Async function expected no return value
|
Verify Files:
src/commands/translate/providers/yandex/provider.ts#L228
Unexpected console statement
|
Verify Files:
src/commands/translate/providers/yandex/provider.ts#L229
Unexpected console statement
|
Verify Files:
src/commands/translate/utils/fs.ts#L141
Missing JSDoc @returns for function
|
Verify Files:
src/index.ts#L24
Unexpected any. Specify a different type
|
Verify Files:
src/program/index.ts#L17
Unexpected any. Specify a different type
|
Verify Files:
src/program/index.ts#L51
Unexpected negated condition
|