DataDog / datadog-static-analyzer

Datadog Static Analyzer
https://docs.datadoghq.com/static_analysis/
Apache License 2.0
100 stars 12 forks source link

Per-subtree rule severity overrides #458

Closed jacobotb closed 2 months ago

jacobotb commented 2 months ago

What problem are you trying to solve?

Severity overrides are global. We want to be able to set different overrides in different parts of the repo.

What is your solution?

Modify the schema so the configuration can take severity values or maps from subdirectory to severity. This also makes the 'per subtree' mechanism general so other things can be per-subtree later on.

This is the last PR of the series.