Skip to content

New project - package.json - lint options cause tests to fail #375

@ygyg70

Description

@ygyg70

CLI version: 5.1.1
Project init options:
? Choose the target Framework: Koa.js
? Choose the architecture for your project: Ts.ED
? Choose the convention file styling: Ts.ED
? Check the features needed for your project Swagger, Testing, Linter
? Choose unit framework Vitest
? Choose linter tools framework EsLint
? Choose extra linter tools Prettier
? Choose the runtime: Node.js
? Choose the package manager: Yarn

Error msg:
Parsing error: ESLint was configured to run on <tsconfigRootDir>/processes.config.js using parserOptions.project: ~/tsconfig.json

If I change eslint target to src folder, tests run correctly

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions