exec pint --no-color lint rules
! stdout .
cmp stderr stderr.txt

-- stderr.txt --
level=INFO msg="Loading configuration file" path=.pint.hcl
level=INFO msg="Finding all rules to check" paths=["rules"]
level=INFO msg="Checking Prometheus rules" entries=1 workers=10 online=true
-- rules/0001.yml --
- alert: Instance Is Down 1
  expr: up == 0
  annotations:
    annotation_foo: bar
    annotation_bar: bar

-- .pint.hcl --
parser {
  relaxed = [".*"]
}
rule {
  annotation "annotation_.*" {
    required = true
    value    = "bar"
    severity = "bug"
  }
}
