2024-02-01 08:08:51 -05:00
|
|
|
{
|
|
|
|
"root": true,
|
|
|
|
"ignorePatterns": ["**/*"],
|
|
|
|
"plugins": ["@nx"],
|
|
|
|
"overrides": [
|
|
|
|
{
|
|
|
|
"files": ["*.ts", "*.tsx", "*.js", "*.jsx"],
|
|
|
|
"rules": {
|
|
|
|
"@nx/enforce-module-boundaries": [
|
|
|
|
"error",
|
|
|
|
{
|
|
|
|
"enforceBuildableLibDependency": true,
|
|
|
|
"allow": [],
|
|
|
|
"depConstraints": [
|
|
|
|
{
|
2024-03-07 08:09:41 -05:00
|
|
|
"sourceTag": "type:plugin",
|
|
|
|
"onlyDependOnLibsWithTags": ["type:util", "type:ui", "type:feature"]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"sourceTag": "type:app",
|
|
|
|
"onlyDependOnLibsWithTags": [ "type:util", "type:ui", "type:feature"]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"sourceTag": "type:feature",
|
|
|
|
"onlyDependOnLibsWithTags": ["type:feature", "type:ui", "type:util"]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"sourceTag": "type:ui",
|
|
|
|
"onlyDependOnLibsWithTags": ["type:ui", "type:util"]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"sourceTag": "type:util",
|
|
|
|
"onlyDependOnLibsWithTags": ["type:util"]
|
2024-02-01 08:08:51 -05:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"files": ["*.ts", "*.tsx"],
|
|
|
|
"extends": ["plugin:@nx/typescript"],
|
|
|
|
"rules": {}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"files": ["*.js", "*.jsx"],
|
|
|
|
"extends": ["plugin:@nx/javascript"],
|
|
|
|
"rules": {}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|