Skip to content

no-ownerless-files

Field Value
Tool Dependency Cruiser
Enable via layout({ scope })
Severity error
Kind module rule (reports the file)
Source packages/rules/src/dependency-cruiser.cjs
Docs packages/rules/docs/dependency-cruiser.md

utils/, helpers/, misc/ files or folders.

{
"name": "no-ownerless-files",
"severity": "error",
"module": {
"path": "^(?:apps|packages)/(?:.*/)?(?:utils|helpers|misc)(?:[.][^/]*)?(?:/|$)",
"numberOfDependentsLessThan": 100
},
"from": {}
}

This rule is one of several in the Dependency Cruiser preset. The Dependency Cruiser page carries the full preset docs from packages/rules/docs/dependency-cruiser.md.

All rules · Dependency Cruiser rules