Provides prefix choices for commit messages based on staged files (Git only). For example, if the staged files are component/z/a.ts and component/z/b.ts, the path prefix option will be component/z and commit message might look like: component/z/: description of changes. If only one file is staged, the extension is removed in the prefix.
This plugins provides a commitizen convention for commit messages.
Add cz-path to your configuration file.
Example for .cz.json:
The default value for remove_path_prefixes is ["src"]. Adding / to the prefixes is not required.