2022-01-26 18:46:54 +08:00
|
|
|
{
|
|
|
|
"root": true,
|
|
|
|
"ignorePatterns": ["**/*"],
|
|
|
|
"plugins": ["@nrwl/nx"],
|
2022-02-09 11:48:23 +08:00
|
|
|
"rules": {
|
|
|
|
"@typescript-eslint/no-explicit-any": "off",
|
|
|
|
"@typescript-eslint/no-unused-vars": "off"
|
|
|
|
},
|
|
|
|
"overrides": [{
|
2022-01-26 18:46:54 +08:00
|
|
|
"files": ["*.ts", "*.tsx", "*.js", "*.jsx"],
|
|
|
|
"rules": {
|
|
|
|
"@nrwl/nx/enforce-module-boundaries": [
|
|
|
|
"error",
|
|
|
|
{
|
|
|
|
"enforceBuildableLibDependency": true,
|
|
|
|
"allow": [],
|
2022-02-09 11:48:23 +08:00
|
|
|
"depConstraints": [{
|
|
|
|
"sourceTag": "*",
|
|
|
|
"onlyDependOnLibsWithTags": ["*"]
|
|
|
|
}]
|
2022-01-26 18:46:54 +08:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"files": ["*.ts", "*.tsx"],
|
|
|
|
"extends": ["plugin:@nrwl/nx/typescript"],
|
|
|
|
"rules": {}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"files": ["*.js", "*.jsx"],
|
|
|
|
"extends": ["plugin:@nrwl/nx/javascript"],
|
|
|
|
"rules": {}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|