[31m[22m[24msemgrep error[0m: Invalid rule schema
  --> rules/syntax/bad4.yaml:4
[94m[22m[24m4 | [0m      pattern-inside: |
[94m[22m[24m5 | [0m        def foo($X):
[94m[22m[24m6 | [0m            ...
[94m[22m[24m7 | [0m      pattern: $X = 1
[94m[22m[24m8 | [0m    message: "$X is being reassigned"

[31m[22m[24m{'pattern-inside': 'def foo($X):\n    ...\n', 'pattern': '$X = 1'} is not of type 'array'[0m

[31m[41m[22m[24m[[0m[38;5;231m[41m[1m[24mERROR[0m[31m[41m[22m[24m][0m invalid configuration file found (1 configs were invalid)
