@@ -4,25 +4,24 @@ namespace SourceGit.Models
4
4
{
5
5
public class ConventionalCommitType
6
6
{
7
- public string Name { get ; set ; } = string . Empty ;
8
- public string Type { get ; set ; } = string . Empty ;
9
- public string Description { get ; set ; } = string . Empty ;
7
+ public string Name { get ; set ; }
8
+ public string Type { get ; set ; }
9
+ public string Description { get ; set ; }
10
10
11
- public static readonly List < ConventionalCommitType > Supported = new List < ConventionalCommitType > ( )
12
- {
13
- new ConventionalCommitType ( "Features" , "feat" , "Adding a new feature" ) ,
14
- new ConventionalCommitType ( "Bug Fixes" , "fix" , "Fixing a bug" ) ,
15
- new ConventionalCommitType ( "Work In Progress" , "wip" , "Still being developed and not yet complete" ) ,
16
- new ConventionalCommitType ( "Reverts" , "revert" , "Undoing a previous commit" ) ,
17
- new ConventionalCommitType ( "Code Refactoring" , "refactor" , "Restructuring code without changing its external behavior" ) ,
18
- new ConventionalCommitType ( "Performance Improvements" , "pref" , "Improves performance" ) ,
19
- new ConventionalCommitType ( "Builds" , "build" , "Changes that affect the build system or external dependencies" ) ,
20
- new ConventionalCommitType ( "Continuous Integrations" , "ci" , "Changes to CI configuration files and scripts" ) ,
21
- new ConventionalCommitType ( "Documentations" , "docs" , "Updating documentation" ) ,
22
- new ConventionalCommitType ( "Styles" , "style" , "Elements or code styles without changing the code logic" ) ,
23
- new ConventionalCommitType ( "Tests" , "test" , "Adding or updating tests" ) ,
24
- new ConventionalCommitType ( "Chores" , "chore" , "Other changes that don't modify src or test files" ) ,
25
- } ;
11
+ public static readonly List < ConventionalCommitType > Supported = [
12
+ new ( "Features" , "feat" , "Adding a new feature" ) ,
13
+ new ( "Bug Fixes" , "fix" , "Fixing a bug" ) ,
14
+ new ( "Work In Progress" , "wip" , "Still being developed and not yet complete" ) ,
15
+ new ( "Reverts" , "revert" , "Undoing a previous commit" ) ,
16
+ new ( "Code Refactoring" , "refactor" , "Restructuring code without changing its external behavior" ) ,
17
+ new ( "Performance Improvements" , "perf" , "Improves performance" ) ,
18
+ new ( "Builds" , "build" , "Changes that affect the build system or external dependencies" ) ,
19
+ new ( "Continuous Integrations" , "ci" , "Changes to CI configuration files and scripts" ) ,
20
+ new ( "Documentations" , "docs" , "Updating documentation" ) ,
21
+ new ( "Styles" , "style" , "Elements or code styles without changing the code logic" ) ,
22
+ new ( "Tests" , "test" , "Adding or updating tests" ) ,
23
+ new ( "Chores" , "chore" , "Other changes that don't modify src or test files" ) ,
24
+ ] ;
26
25
27
26
public ConventionalCommitType ( string name , string type , string description )
28
27
{
0 commit comments