Skip to content

api:generate cli option #162

api:generate cli option

api:generate cli option #162

Triggered via pull request February 18, 2024 14:34
Status Failure
Total duration 55s
Artifacts

pull_request.yml

on: pull_request
Run validations
46s
Run validations
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 11 warnings
Run validations: src/commands/app/__tests__/create.test.ts#L49
Identifier 'app_feature' is not in camel case
Run validations: src/commands/app/__tests__/create.test.ts#L59
Identifier 'app_feature' is not in camel case
Run validations
Process completed with exit code 1.
Run validations
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Run validations: src/commands/api/generate.ts#L8
Unexpected 'todo' comment: 'TODO: yarn add @mondaycom/setup-api -...'
Run validations: src/services/files-service.ts#L6
Using exported name 'glob' as identifier for default export
Run validations: src/services/files-service.ts#L152
Caution: `glob` also has a named export `sync`. Check if you meant to write `import {sync} from 'glob'` instead
Run validations: src/services/files-service.ts#L160
Caution: `parseGitIgnore` also has a named export `parse`. Check if you meant to write `import {parse} from 'parse-gitignore'` instead
Run validations: src/services/git-service.ts#L19
Async arrow function has too many parameters (5). Maximum allowed is 4
Run validations: src/services/git-service.ts#L44
Caution: `fs` also has a named export `move`. Check if you meant to write `import {move} from 'fs-extra'` instead
Run validations: src/services/git-service.ts#L49
Caution: `fs` also has a named export `remove`. Check if you meant to write `import {remove} from 'fs-extra'` instead
Run validations: src/services/prompt-service.ts#L13
Caution: `inquirer` also has a named export `registerPrompt`. Check if you meant to write `import {registerPrompt} from 'inquirer'` instead
Run validations: src/services/prompt-service.ts#L14
Caution: `inquirer` also has a named export `registerPrompt`. Check if you meant to write `import {registerPrompt} from 'inquirer'` instead
Run validations: src/services/prompt-service.ts#L39
Caution: `inquirer` also has a named export `prompt`. Check if you meant to write `import {prompt} from 'inquirer'` instead