Add qossmic/deptrac recipe (#1625)

This commit is contained in:
Jérémy DECOOL
2024-06-22 08:59:57 +02:00
committed by GitHub
parent 26814278e1
commit 6091e1336a
2 changed files with 38 additions and 0 deletions

View File

@@ -0,0 +1,30 @@
deptrac:
paths:
- ./src
exclude_files:
- '#.*test.*#'
layers:
-
name: Controller
collectors:
-
type: classLike
value: .*Controller.*
-
name: Repository
collectors:
-
type: classLike
value: .*Repository.*
-
name: Service
collectors:
-
type: classLike
value: .*Service.*
ruleset:
Controller:
- Service
Service:
- Repository
Repository:

View File

@@ -0,0 +1,8 @@
{
"copy-from-recipe": {
"deptrac.yaml": "deptrac.yaml"
},
"gitignore": [
"/.deptrac.cache"
]
}