refactor: enforce frontend view model boundaries
This commit is contained in:
@@ -9,7 +9,7 @@ module.exports = {
|
||||
name: "stories-must-not-reach-application-data",
|
||||
severity: "error",
|
||||
to: {
|
||||
path: String.raw`^src/(shared/api|features/auth|app/routes|app/ui)/|^src/(entities|features)/[^/]+/api/|\.vm\.ts$|^src/pages/[^/]+/ui/.*Page\.tsx$|node_modules/(@tanstack/react-query|openapi-fetch|openapi-react-query)/`,
|
||||
path: String.raw`^src/(shared/api|features/auth|app/routes|app/ui)/|^src/(entities|features)/[^/]+/api/|^src/pages/[^/]+/ui/.*Page\.tsx$|node_modules/(@tanstack/react-query|openapi-fetch|openapi-react-query)/`,
|
||||
reachable: true,
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user