Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( DefaultPrefixes = []huh.Option[string]{ huh.NewOption("feat - a new feature", "feat"), huh.NewOption("fix - a bug fix", "fix"), huh.NewOption("docs - documentation only changes", "docs"), huh.NewOption("style - changes that do not affect the meaning of the code", "style"), huh.NewOption("refactor - a code change that neither fixes a bug nor adds a feature", "refactor"), huh.NewOption("perf - a code change that improves performance", "perf"), huh.NewOption("test - adding missing tests or correcting existing tests", "test"), huh.NewOption("chore - changes to the build process or auxiliary tools and libraries", "chore"), huh.NewOption("revert - reverts a previous commit", "revert"), huh.NewOption("ci - changes to our CI configuration files and scripts", "ci"), } )
Functions ¶
func FindConfigFile ¶
FindConfigFile will find the config files based in the rules below: 1. If the current directory contains a .meteor.json file, it will be used. 2. If the current directory does not contain a .meteor.json file, the parent 3. IF parent doesn't contain the .meteor.json file, the search will continue until the home directory is reached. 4. If no .meteor.json file is found, look in ~/.config/meteor/config.json 5. If no .meteor.json file is found, return an error
Types ¶
Click to show internal directories.
Click to hide internal directories.