Hey everyone I am using …

less than 1 minute read

Hey everyone I am using the nx-enforce-module-boundaries linting rule and have it setup so that

in nx.json

"projects": {
        "browser": {
            "tags": [
                "scope:dashboard"
            ]
        },

        "fundraiser-card": {
            "tags": [
                "scope:client:lib"
            ]
        }
}

in tslint.json

"depConstraints": [
{
                        "sourceTag": "scope:client:lib",
                        "onlyDependOnLibsWithTags": [
                            "scope:client:lib",
                            "scope:lib"
                        ]
                    }
]

But when I import something from the browser project inside the fundraiser-card project it does not throw an error telling me I am not allow to import from browser (which is an app)

Updated: