feat: copy yaml assets #1716
Annotations
10 errors and 12 warnings
Lint Files:
src/cmd/build/index.ts#L2
Replace `"walk-sync"` with `'walk-sync'`
|
Lint Files:
src/cmd/build/index.ts#L3
Replace `"js-yaml"` with `'js-yaml'`
|
Lint Files:
src/cmd/build/index.ts#L4
Replace `"fs"` with `'fs'`
|
Lint Files:
src/cmd/build/index.ts#L9
Replace `"@diplodoc/client/ssr"` with `'@diplodoc/client/ssr'`
|
Lint Files:
src/cmd/build/index.ts#L10
Replace `"@diplodoc/transform/lib/utils"` with `'@diplodoc/transform/lib/utils'`
|
Lint Files:
src/cmd/build/index.ts#L274
Replace `yamlFile` with `(yamlFile)`
|
Lint Files:
src/cmd/build/index.ts#L277
Replace `(!Object.prototype.hasOwnProperty.call(content,·'blocks'))` with `·(!Object.prototype.hasOwnProperty.call(content,·'blocks'))·`
|
Lint Files:
src/cmd/build/index.ts#L278
Insert `;`
|
Lint Files:
src/cmd/build/index.ts#L282
Replace `·new·RegExp(/^\S.*\.(svg|png|gif|jpg|jpeg|bmp|webp|ico)$/gm).test(link` with `⏎································new·RegExp(/^\S.*\.(svg|png|gif|jpg|jpeg|bmp|webp|ico)$/gm).test(⏎····································link,⏎································`
|
Lint Files:
src/cmd/build/index.ts#L285
Replace `args.input,·tmpOutputFolder,·localMediaLinks.filter(link·=>·checkPathExists(link,·yamlFile))` with `⏎····························args.input,⏎····························tmpOutputFolder,⏎····························localMediaLinks.filter((link)·=>·checkPathExists(link,·yamlFile)),⏎························`
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/setup-node@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Lint Files:
src/cmd/build/index.ts#L190
Unexpected any. Specify a different type
|
Lint Files:
src/cmd/build/index.ts#L202
Unexpected any. Specify a different type
|
Lint Files:
src/cmd/publish/index.ts#L94
Unexpected any. Specify a different type
|
Lint Files:
src/cmd/translate/handler.ts#L66
Unexpected any. Specify a different type
|
Lint Files:
src/cmd/translate/handler.ts#L108
Unexpected any. Specify a different type
|
Lint Files:
src/cmd/translate/handler.ts#L122
Unexpected console statement
|
Lint Files:
src/cmd/translate/handler.ts#L127
Unexpected any. Specify a different type
|
Lint Files:
src/cmd/translate/handler.ts#L129
Unexpected console statement
|
Lint Files:
src/cmd/translate/handler.ts#L131
Unexpected console statement
|
Lint Files:
src/cmd/translate/handler.ts#L216
Unexpected any. Specify a different type
|
Loading