Skip to content

Commit

Permalink
build: ensures dependencies on .d.[cm]?ts$ are type only always
Browse files Browse the repository at this point in the history
  • Loading branch information
sverweij committed Dec 1, 2023
1 parent 92c5782 commit f0d1fe3
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .dependency-cruiser.json
Expand Up @@ -254,6 +254,15 @@
"to": {
"dependencyTypesNot": ["type-only"]
}
},
{
"name": "only-type-only-to-dts",
"severity": "error",
"from": {},
"to": {
"path": "[.]d[.][cm]?ts$",
"dependencyTypesNot": ["type-only"]
}
}
],
"options": {
Expand Down

0 comments on commit f0d1fe3

Please sign in to comment.