Skip to content

Commit

Permalink
Update documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Igorkowalski94 committed Aug 29, 2024
1 parent 9fc4bed commit 108d8dd
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions documentation/project-structure-folder-structure.md
Original file line number Diff line number Diff line change
Expand Up @@ -254,6 +254,17 @@ export const folderStructureConfig = createFolderStructure({
},
],
rules: {
// hooks/useHookName1/... All files and folders of the hook_folder rule.
// hooks/useHookName2.test.ts
// hooks/useHookName2.ts
hooks_folder: {
name: "hooks",
children: [
{ ruleId: "hook_folder" },
{ name: "use{PascalCase}(.test)?.ts" },
],
},

// useHookName/hooks/... All files and folders of the hooks_folder rule.
// useHookName/useHookName.test.ts
// useHookName/useHookName.api.ts
Expand All @@ -267,17 +278,6 @@ export const folderStructureConfig = createFolderStructure({
],
},

// hooks/useHookName1/... All files and folders of the hook_folder rule.
// hooks/useHookName2.test.ts
// hooks/useHookName2.ts
hooks_folder: {
name: "hooks",
children: [
{ ruleId: "hook_folder" },
{ name: "use{PascalCase}(.test)?.ts" },
],
},

// components/ComponentName/... All files and folders of the component_folder rule.
components_folder: {
name: "components",
Expand Down

0 comments on commit 108d8dd

Please sign in to comment.