Problem
When working with Lombok, SeaLights reports quality risks on its generated code.
Solution
SeaLights has the ability to ignore Lombok code if Lombok annotations are added to the generated code.
In order to do so, you need to do the following:
...
have Lombok generate the needed annotations, by setting the flag lombok.addLombokGeneratedAnnotation
to true
in the Lombok configuration itself.
This can be done by updating the lombok.config
file with the following entry:
Code Block | title | lombok.config
---|
lombok.addLombokGeneratedAnnotation = true |
...
Info |
---|
Please refer to https://projectlombok.org/features/configuration for more details |
Related articles
Filter by label (Content by label) | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
...
Page Properties | ||
---|---|---|
| ||
|