# Lombok: False Quality Risks

### Problem <a href="#problem" id="problem"></a>

When working with Lombok, SeaLights reports quality risks on its generated code.

### Solution <a href="#solution" id="solution"></a>

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 have Lombok generate the needed annotations, by setting the flag `lombok.addLombokGeneratedAnnotation` to `true` in the Lombok configuration itself.<br>

This can be done by updating the `lombok.config` file with the following entry:

{% code overflow="wrap" lineNumbers="true" %}

```
lombok.addLombokGeneratedAnnotation = true
```

{% endcode %}

Please refer to <https://projectlombok.org/features/configuration> for more details

### Related articles <a href="#related-articles" id="related-articles"></a>

* [running-tests](https://docs.sealights.io/knowledgebase/setup-and-configuration/sealights-agents-and-plugins/go-agent/go-agent-v1/running-tests "mention") (Go)
* [setting-up-a-windows-service](https://docs.sealights.io/knowledgebase/setup-and-configuration/sealights-agents-and-plugins/.net-core-agent/capturing-coverage-from-the-application/ms-windows-specific-configurations/setting-up-a-windows-service "mention") (.Net)
* [setting-up-iis-listener](https://docs.sealights.io/knowledgebase/setup-and-configuration/sealights-agents-and-plugins/.net-core-agent/capturing-coverage-from-the-application/ms-windows-specific-configurations/setting-up-iis-listener "mention") (.Net)
* [cloud-foundry-integration](https://docs.sealights.io/knowledgebase/setup-and-configuration/sealights-agents-and-plugins/python-agent/capturing-coverage-from-runtime-application/cloud-foundry-integration "mention") (Python)
* [pivotal-cloud-foundry-pcf-support](https://docs.sealights.io/knowledgebase/setup-and-configuration/sealights-agents-and-plugins/java-agent/pivotal-cloud-foundry-pcf-support "mention") (Java)
