style: add .editorconfig for code formatting. see issu #25

This commit is contained in:
leo 2024-03-18 09:37:06 +08:00
parent a8eeea4f78
commit 18aaa0a143
225 changed files with 7781 additions and 3911 deletions

View file

@ -1,7 +1,9 @@
using System.Collections.Generic;
namespace SourceGit.Models {
public class Locale {
namespace SourceGit.Models
{
public class Locale
{
public string Name { get; set; }
public string Key { get; set; }
@ -10,9 +12,10 @@ namespace SourceGit.Models {
new Locale("简体中文", "zh_CN"),
};
public Locale(string name, string key) {
public Locale(string name, string key)
{
Name = name;
Key = key;
}
}
}
}