diff --git a/.vscode/settings.json b/.vscode/settings.json index 67d6165..57bb5c7 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -4,7 +4,6 @@ "MD029": false }, "cSpell.words": [ - "Checkin", - "userinput" + "Checkin" ] } diff --git a/internal/error_messages/user-input.go b/internal/error_messages/user_input.go similarity index 100% rename from internal/error_messages/user-input.go rename to internal/error_messages/user_input.go diff --git a/internal/handlers/handlers_options.go b/internal/handlers/handlers_options.go index 815139a..b98ebd8 100644 --- a/internal/handlers/handlers_options.go +++ b/internal/handlers/handlers_options.go @@ -7,7 +7,7 @@ import ( "github.com/RaulCatalinas/HuskyBC/internal/constants" "github.com/RaulCatalinas/HuskyBC/internal/enums" errorMessages "github.com/RaulCatalinas/HuskyBC/internal/error_messages" - userinput "github.com/RaulCatalinas/HuskyBC/internal/user-input" + userInput "github.com/RaulCatalinas/HuskyBC/internal/user_input" "github.com/RaulCatalinas/HuskyBC/internal/utils" "github.com/toqueteos/webbrowser" ) @@ -35,9 +35,9 @@ func HandlerOptionCollaborate() { func HandlerOptionBuild() { utils.CheckinFolderOrFile(constants.PATH_PACKAGE_JSON, false) - packageManagerToUse := userinput.GetPackageManager() - useCommitlint := userinput.AddCommitlint() - shouldPublishToNpm := userinput.ShouldPublishToNpm() + packageManagerToUse := userInput.GetPackageManager() + useCommitlint := userInput.AddCommitlint() + shouldPublishToNpm := userInput.ShouldPublishToNpm() utils.GenerateHuskyConfig( utils.Props{ diff --git a/internal/user-input/add-commitlint.go b/internal/user_input/add_commitlint.go similarity index 97% rename from internal/user-input/add-commitlint.go rename to internal/user_input/add_commitlint.go index 5b171af..261c423 100644 --- a/internal/user-input/add-commitlint.go +++ b/internal/user_input/add_commitlint.go @@ -1,4 +1,4 @@ -package userinput +package user_input import ( "os" diff --git a/internal/user-input/package-managers.go b/internal/user_input/package_managers.go similarity index 98% rename from internal/user-input/package-managers.go rename to internal/user_input/package_managers.go index d38759a..eb1c00d 100644 --- a/internal/user-input/package-managers.go +++ b/internal/user_input/package_managers.go @@ -1,4 +1,4 @@ -package userinput +package user_input import ( "fmt" diff --git a/internal/user-input/publishToNpm.go b/internal/user_input/publishToNpm.go similarity index 97% rename from internal/user-input/publishToNpm.go rename to internal/user_input/publishToNpm.go index 8435be2..d64ae76 100644 --- a/internal/user-input/publishToNpm.go +++ b/internal/user_input/publishToNpm.go @@ -1,4 +1,4 @@ -package userinput +package user_input import ( "os" diff --git a/internal/utils/husky-library.go b/internal/utils/husky_library.go similarity index 100% rename from internal/utils/husky-library.go rename to internal/utils/husky_library.go diff --git a/internal/utils/package-json.go b/internal/utils/package_json.go similarity index 100% rename from internal/utils/package-json.go rename to internal/utils/package_json.go diff --git a/internal/utils/user-os.go b/internal/utils/user_os.go similarity index 100% rename from internal/utils/user-os.go rename to internal/utils/user_os.go