refactor: address frontend review feedback
Frontend verify / commits (pull_request) Successful in 29s
Frontend verify / security (pull_request) Successful in 9s
Frontend verify / verify (pull_request) Successful in 8m54s
Frontend verify / commits (push) Skipped
Frontend verify / security (push) Successful in 12s
Frontend verify / verify (push) Successful in 9m59s
Frontend verify / commits (pull_request) Successful in 29s
Frontend verify / security (pull_request) Successful in 9s
Frontend verify / verify (pull_request) Successful in 8m54s
Frontend verify / commits (push) Skipped
Frontend verify / security (push) Successful in 12s
Frontend verify / verify (push) Successful in 9m59s
This commit was merged in pull request #43.
This commit is contained in:
@@ -5,11 +5,16 @@ module.exports = {
|
||||
forbidden: [
|
||||
...base.forbidden,
|
||||
{
|
||||
from: { path: String.raw`\.stories\.tsx$|^\.storybook/preview\.tsx$` },
|
||||
from: { path: "[.]stories[.]tsx$|^[.]storybook/preview[.]tsx$" },
|
||||
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/|^src/pages/[^/]+/ui/.*Page\.tsx$|node_modules/(@tanstack/react-query|openapi-fetch|openapi-react-query)/`,
|
||||
path: [
|
||||
"^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