Skip to content

Refactor code and simplify file processing #46

Refactor code and simplify file processing

Refactor code and simplify file processing #46

Triggered via pull request November 13, 2023 05:37
Status Failure
Total duration 25s
Artifacts

lint-and-format.yml

on: pull_request
Lint & format check
17s
Lint & format check
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 10 warnings
Lint & format check: src/bin/index.ts#L23
Do not use "@ts-ignore" because it alters compilation errors
Lint & format check: src/bin/index.ts#L26
Do not use "@ts-ignore" because it alters compilation errors
Lint & format check: src/lib/markdownToObject.ts#L68
'fileObject' is never reassigned. Use 'const' instead
Lint & format check
Process completed with exit code 1.
Lint & format check: src/lib/indexFolderToObjects.ts#L8
'pathToUrlResolver' is defined but never used
Lint & format check: src/lib/indexFolderToObjects.ts#L59
Forbidden non-null assertion
Lint & format check: src/lib/markdowndb.spec.ts#L177
Forbidden non-null assertion
Lint & format check: src/lib/markdowndb.spec.ts#L182
Forbidden non-null assertion
Lint & format check: src/lib/markdowndb.spec.ts#L184
Forbidden non-null assertion
Lint & format check: src/lib/markdowndb.spec.ts#L212
Forbidden non-null assertion
Lint & format check: src/lib/markdowndb.spec.ts#L215
Forbidden non-null assertion
Lint & format check: src/lib/markdowndb.spec.ts#L224
Forbidden non-null assertion
Lint & format check: src/lib/markdowndb.spec.ts#L229
Forbidden non-null assertion
Lint & format check: src/lib/markdowndb.spec.ts#L230
Forbidden non-null assertion