Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,9 @@ specifically for this mode:
- `--forbid <from>-><to>` — an architecture rule; repeat it for several. Each
side is a repo-relative path: ending in `/` it means every file under that
directory, otherwise one exact file (`--forbid 'src/ui/->src/db/'`). Any file
edge a rule matches is listed on stderr with its weight and the run exits 1,
after the diagram is written, so CI fails with the picture as evidence. Rules
edge a rule matches is listed on stderr with its weight and drawn red, and
the run exits 1 after the diagram is written, so CI fails with the picture as
evidence. Rules
are checked on the per-file edges, before `--group-depth` and `--max-render`,
so neither can hide a violation.
- `--depth` has no effect here and is rejected if passed — there's no
Expand Down
Loading
Loading