Skip to content

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

@cpaulve-1A

Description

@cpaulve-1A

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

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions