Frontend security / security (push) Successful in 10s
Frontend verify / verify (push) Successful in 4m57s
Conventional commits / commits (pull_request) Successful in 28s
Frontend security / security (pull_request) Successful in 10s
Frontend verify / verify (pull_request) Successful in 5m10s
Repair investment recovery, draft preservation, date validation, currency presentation, accessibility, and route error recovery. Correct Docker and dependency checks and consume explicit income roles.
74 lines
1.7 KiB
JavaScript
74 lines
1.7 KiB
JavaScript
module.exports = {
|
|
forbidden: [
|
|
{
|
|
name: "no-unresolved",
|
|
severity: "error",
|
|
from: {},
|
|
to: { couldNotResolve: true },
|
|
},
|
|
{
|
|
name: "packages-must-not-depend-on-app",
|
|
severity: "error",
|
|
from: { path: "^packages/" },
|
|
to: { path: "^src/" },
|
|
},
|
|
{
|
|
name: "no-circular",
|
|
severity: "error",
|
|
from: {},
|
|
to: { circular: true },
|
|
},
|
|
{
|
|
name: "slices-must-use-public-api",
|
|
severity: "error",
|
|
from: {
|
|
path: "^src/(app|pages|features|entities|shared)/([^/]+)/",
|
|
},
|
|
to: {
|
|
path: "^src/(app|pages|features|entities|shared)/([^/]+)/(?!index\\.ts$)",
|
|
pathNot: "^src/$1/$2/",
|
|
},
|
|
},
|
|
{
|
|
name: "no-same-layer-cross-slice-imports",
|
|
severity: "error",
|
|
from: { path: "^src/(pages|features|entities)/([^/]+)/" },
|
|
to: { path: "^src/$1/", pathNot: "^src/$1/$2/" },
|
|
},
|
|
{
|
|
name: "shared-must-not-depend-on-layers",
|
|
severity: "error",
|
|
from: { path: "^src/shared/" },
|
|
to: { path: "^src/(entities|features|pages|app)/" },
|
|
},
|
|
{
|
|
name: "entities-must-not-depend-on-higher-layers",
|
|
severity: "error",
|
|
from: { path: "^src/entities/" },
|
|
to: { path: "^src/(features|pages|app)/" },
|
|
},
|
|
{
|
|
name: "features-must-not-depend-on-higher-layers",
|
|
severity: "error",
|
|
from: { path: "^src/features/" },
|
|
to: { path: "^src/(pages|app)/" },
|
|
},
|
|
{
|
|
name: "pages-must-not-depend-on-app",
|
|
severity: "error",
|
|
from: { path: "^src/pages/" },
|
|
to: { path: "^src/app/" },
|
|
},
|
|
],
|
|
options: {
|
|
exclude: "^packages/[^/]+/dist/",
|
|
doNotFollow: { path: "node_modules" },
|
|
tsConfig: { fileName: "tsconfig.dependency-cruiser.json" },
|
|
enhancedResolveOptions: {
|
|
exportsFields: ["exports"],
|
|
conditionNames: ["import", "require", "node", "default"],
|
|
},
|
|
tsPreCompilationDeps: true,
|
|
},
|
|
};
|