You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
43 lines
880 B
43 lines
880 B
2 years ago
|
{
|
||
|
"root": true,
|
||
|
"ignorePatterns": ["**/*"],
|
||
|
"plugins": ["@nx"],
|
||
|
"overrides": [
|
||
|
{
|
||
|
"files": ["*.ts", "*.tsx", "*.js", "*.jsx"],
|
||
|
"rules": {
|
||
|
"@nx/enforce-module-boundaries": [
|
||
|
"error",
|
||
|
{
|
||
|
"enforceBuildableLibDependency": true,
|
||
|
"allow": [],
|
||
|
"depConstraints": [
|
||
|
{
|
||
|
"sourceTag": "*",
|
||
|
"onlyDependOnLibsWithTags": ["*"]
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"files": ["*.ts", "*.tsx"],
|
||
|
"extends": ["plugin:@nx/typescript"],
|
||
|
"rules": {}
|
||
|
},
|
||
|
{
|
||
|
"files": ["*.js", "*.jsx"],
|
||
|
"extends": ["plugin:@nx/javascript"],
|
||
|
"rules": {}
|
||
|
},
|
||
|
{
|
||
|
"files": ["*.spec.ts", "*.spec.tsx", "*.spec.js", "*.spec.jsx"],
|
||
|
"env": {
|
||
|
"jest": true
|
||
|
},
|
||
|
"rules": {}
|
||
|
}
|
||
|
]
|
||
|
}
|