Skip to content

Commit b49c0ed

Browse files
committed
fix: remove unused function
1 parent aa92b61 commit b49c0ed

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/utils.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,6 @@ function formatComponentFnName(
3434
}
3535
}
3636

37-
/** Sanitizes a component name by removing special characters */
38-
// TODO Don't sanitize if the folder name should be kebab-case. Find a way to handle this case, where folder name is kebab-case, and component name is PascalCase
39-
function sanitizeComponentName(name: string): string {
40-
return name.replace(/[-_]/g, "");
41-
}
42-
4337
/** Generates paths and names for component files based on the configuration */
4438
function getPathsAndNames(
4539
path: string,

0 commit comments

Comments
 (0)