semgrep-core rule validation failed (RuleParseError)
[31m[22m[24msemgrep error[0m: Invalid rule schema
  --> rules/syntax/bad5.yaml:2
[94m[22m[24m2 | [0m  - id: arg-reassign
[94m[22m[24m3 | [0m    patterns:
[94m[22m[24m4 | [0m      # should be a dict, not a string
[94m[22m[24m5 | [0m      - "4"
[94m[22m[24m6 | [0m    message: "$X is being reassigned"
[94m[22m[24m7 | [0m    languages: [python]
[94m[22m[24m8 | [0m    severity: WARNING

[31m[22m[24m'4' is not valid under any of the given schemas[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)
