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]: Ensure generated libraries do not break the linter #2730

Open
cpaulve-1A opened this issue Jan 24, 2025 · 0 comments
Open

[Bug]: Ensure generated libraries do not break the linter #2730

cpaulve-1A opened this issue Jan 24, 2025 · 0 comments
Labels
bug Something isn't working triage

Comments

@cpaulve-1A
Copy link
Contributor

cpaulve-1A commented Jan 24, 2025

Package name

workspace

Package version

11.5.0

Reproduction steps

Generate a workspace using npm create @o3r my-workspace and select the Basic preset.
Generate a library using the command npm exec ng g library my-lib.
Install the @o3r/eslint-config on your library with the command npm exec ng add @o3r/eslint-config --skip-confirmation --project-name my-lib
Run the command npm exec ng lint my-lib --fix

Current result

Linting is failing with the following error:
Image

Expected result

A generated library should not raise non-fixable linting issue.

Additional comments

Once the fix is done, make sure to uncomment l.67 of packages/@o3r/eslint-config/schematics/index.it.spec.ts:

Image

@cpaulve-1A cpaulve-1A added bug Something isn't working triage labels Jan 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working triage
Projects
None yet
Development

No branches or pull requests

1 participant