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

[Bug]: Linter does not work on a new Otter webapp in a monorepo #1661

Closed
vscaiceanu-1a opened this issue Apr 15, 2024 · 0 comments · Fixed by #1671
Closed

[Bug]: Linter does not work on a new Otter webapp in a monorepo #1661

vscaiceanu-1a opened this issue Apr 15, 2024 · 0 comments · Fixed by #1671
Assignees
Labels
bug Something isn't working

Comments

@vscaiceanu-1a
Copy link
Member

vscaiceanu-1a commented Apr 15, 2024

Package name

eslint-config-otter

Package version

10.1.5

Reproduction steps

npm create @o3r otter-project
cd otter-project
ng g application webapp
# choose preset BASIC, no Jest and no Playwright when prompted
ng add @o3r/eslint-config-otter
npm run ng lint

Current result

$ npm run ng lint webapp

> otter-project@0.0.0 ng
> ng lint webapp

Linting "webapp"...
An unhandled exception occurred: Invalid lint configuration. Nothing to lint. Please check your lint target pattern(s).
See "/private/var/folders/y9/zqm_33k537sd7lbz_b35cn780000gp/T/ng-Rifhs8/angular-errors.log" for further details.

Expected result

Linting works.

Additional comments

ng add @o3r/eslint-config-otter create some eslint specific files at the root of the project and not in the webapp

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant