-
-
Notifications
You must be signed in to change notification settings - Fork 4
Closed
Labels
Description
I would love to have the ability to change the way hooks are written using the CLI. Currently, hooks are written in camelCase
, I would like to have the ability to choose how files are written (e.g kebab-case
)
Maybe having some sort of new option in the rehooks.json
could be nice :
{
"directory": "./src/hooks",
"forceOverwrite": false,
"case": "kebab" // ℹ️ This will write the file name to kebab case (e.g. `use-debounce-value` instead of `useDebounceValue`)
}
Pyr33x and austinm911