file_naming¶
Checks the contract's file name. You can require it to match a glob, require its stem to equal the contract id or name, or both. The stem is the file name without .odcs.yaml, .odcs.yml, .yaml or .yml.
Options¶
| Option | Description |
|---|---|
pattern |
A glob the file name (not the directory) must match, e.g. *.odcs.yaml. |
match_field |
id or name: the file stem must equal this field. |
You need to set at least one of the two.