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