π Bug Report: goji --init provides an unexpected configuration file
VictorRos opened this issue Β· comments
Victor Ros commented
π Describe the bug
Installed version 0.0.1-rc2
- Run
goji --init
- Content file is different from here
- Properties are in lowercase
entity
is not in documentation- Missing
"Types"
- Object not sorted
The generated file:
{
"Types": [
{
"emoji": "β¨",
"entity": "",
"code": ":sparkles:",
"description": "Introduce new features.",
"name": "feature"
},
{
"emoji": "π",
"entity": "",
"code": ":bug:",
"description": "Fix a bug.",
"name": "fix"
},
{
"emoji": "π",
"entity": "",
"code": ":books:",
"description": "Documentation change.",
"name": "docs"
},
{
"emoji": "π¨",
"entity": "",
"code": ":art:",
"description": "Improve structure/format of the code.",
"name": "refactor"
},
{
"emoji": "β‘οΈ",
"entity": "",
"code": ":zap:",
"description": "Improve performance.",
"name": "perf"
},
{
"emoji": "ποΈ",
"entity": "",
"code": ":ambulance:",
"description": "Critical hotfix.",
"name": "hotfix"
},
{
"emoji": "π§",
"entity": "",
"code": ":construction:",
"description": "Work in progress.",
"name": "wip"
},
{
"emoji": "π¦",
"entity": "",
"code": ":package:",
"description": "Add or update compiled files or packages.",
"name": "package"
}
],
"Scopes": [
"home",
"accounts",
"ci"
],
"Symbol": true,
"SkipQuestions": [],
"SubjectMaxLength": 50
}
π Expected behavior
- Running
goji --init
should generate this .goji.json - Properties are sorted on property
Name
in an ascending order
π Screenshots
N/A
π» Desktop
MacOS 13.3 (22E252)
Zine Moualhi π΅πΈ commented
my intention for the --init was to generate a more compact version of the example .goji.json and the users will customize their config file with gitmoji.
Still i'll update to be as extensive as the example in .goji.json
Zine Moualhi π΅πΈ commented
fixes will be added to v0.0.1-rc3
Victor Ros commented
Ok thank you, nice reactivity ;)