maintenance: upgrade to TypeScript 5, Oclif 4, node 18+ #1261
Annotations
7 errors and 10 warnings
Run npm run test-coverage:
src/definition.ts#L265
Replace `)·&&·(` with `·&&`
|
|
Run npm run test-coverage:
src/definition.ts#L267
/^[A-Za-z]+:[\\\/]/ can be optimized to /^[A-Za-z]+:[/\\]/
|
Run npm run test-coverage:
src/definition.ts#L267
Unnecessary escape character: \/
|
Run npm run test-coverage:
src/definition.ts#L267
Insert `))·||`
|
Run npm run test-coverage:
src/definition.ts#L268
Replace `)·||·(⏎········/^https?:\/\//.test(absPath)·&&⏎··········definitionUrl.hostname·===·refUrl.hostname·//·Same·domain·URLs⏎······)` with `(/^https?:\/\//.test(absPath)·&&·definitionUrl.hostname·===·refUrl.hostname)·//·Same·domain·URLs`
|
Run npm run test-coverage
Process completed with exit code 1.
|
Run npm run test-coverage:
src/commands/deploy.ts#L70
Async method 'deployDirectory' has too many parameters (9). Maximum allowed is 4
|
Run npm run test-coverage:
src/commands/deploy.ts#L140
Async method 'deploySingleFile' has too many parameters (9). Maximum allowed is 4
|
Run npm run test-coverage:
src/commands/diff.ts#L80
Unexpected 'todo' comment: 'TODO: find a way to use the `open` node...'
|
Run npm run test-coverage:
src/commands/preview.ts#L79
Unexpected 'todo' comment: 'TODO: find a way to use the `open` node...'
|
Run npm run test-coverage:
src/core/deploy.ts#L42
Async method 'run' has too many parameters (9). Maximum allowed is 4
|
Run npm run test-coverage:
src/core/diff.ts#L51
Async method 'createVersion' has too many parameters (6). Maximum allowed is 4
|
Run npm run test-coverage:
src/core/diff.ts#L94
Unexpected 'todo' comment: 'TODO: return a real diff_id in the GET...'
|
Run npm run test-coverage:
src/core/diff.ts#L118
Async method 'run' has too many parameters (8). Maximum allowed is 4
|
Run npm run test-coverage:
src/core/overlay.ts#L40
Caution: `jsonpath` also has a named export `paths`. Check if you meant to write `import {paths} from 'jsonpath'` instead
|
Run npm run test-coverage:
src/core/overlay.ts#L41
Blocks are nested too deeply (5). Maximum allowed is 4
|
Loading