UNPKG

dependency-cruiser

Version:

Validate and visualize javascript dependencies. With your rules. ES6, CommonJS, AMD

15 lines (14 loc) 304 B
{ "forbidden": [ { "name": "not-to-not-sub", "severity": "error", "comment": "everything to paths not containing 'sub' is forbidden", "from": { }, "to": { "pathNot": "sub" } } ] }