file_content_forbidden
File contents must NOT match a regex.
- id: no-dbg-macros kind: content_forbidden paths: "crates/**/src/**/*.rs" pattern: '\bdbg!\(' level: warningOptions
Section titled “Options”| Option | Type | Required | Default | Description |
|---|---|---|---|---|
pattern | string | yes | Rust regex. File contents must NOT match. |
Plus the common paths, level, id, and when fields. This table is generated from the JSON Schema; option types and defaults are authoritative.