Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ygyg70 opened this issue Mar 13, 2024 · 1 comment
Open

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

ygyg70 opened this issue Mar 13, 2024 · 1 comment
Assignees

Comments

@ygyg70
Copy link

ygyg70 commented Mar 13, 2024

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

@Romakita
Copy link
Contributor

Hum the correct fix is to instrument eslint to run over all code excepted node_modules.

Romakita added a commit that referenced this issue Mar 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants