Skip to content

Instantly share code, notes, and snippets.

@Stronhold
Last active February 17, 2019 16:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Stronhold/15d68429a8420bbab617861d8880e17a to your computer and use it in GitHub Desktop.
Save Stronhold/15d68429a8420bbab617861d8880e17a to your computer and use it in GitHub Desktop.
{
...
"rules": {
... // other tslint rules
"nx-enforce-module-boundaries": [
true,
{
"allow": [],
"depConstraints": [
{
"sourceTag": "scope:shared",
"onlyDependOnLibsWithTags": [
"scope:shared"
]
},
{
"sourceTag": "scope:home",
"onlyDependOnLibsWithTags": [
"scope:home",
"scope:shared"
]
},
{
"sourceTag": "type:core",
"onlyDependOnLibsWithTags": [
"type:core"
]
},
{
"sourceTag": "type: user-interface",
"onlyDependOnLibsWithTags": [
"type:core"
]
}
]
}
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment