diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..5392a0c --- /dev/null +++ b/.editorconfig @@ -0,0 +1,50 @@ +[*] +charset = utf-8 +end_of_line = lf +indent_size = 4 +indent_style = space +insert_final_newline = false +max_line_length = 120 +tab_width = 4 +trim_trailing_whitespace = false + +[*.cs] +dotnet_diagnostic.SA0001.severity = none +dotnet_diagnostic.SA1000.severity = none +dotnet_diagnostic.SA1028.severity = none +dotnet_diagnostic.SA1101.severity = none +dotnet_diagnostic.SA1114.severity = none +dotnet_diagnostic.SA1115.severity = none +dotnet_diagnostic.SA1116.severity = none +dotnet_diagnostic.SA1118.severity = none +dotnet_diagnostic.SA1124.severity = none +dotnet_diagnostic.SA1200.severity = none +dotnet_diagnostic.SA1204.severity = none +dotnet_diagnostic.SA1309.severity = none +dotnet_diagnostic.SA1404.severity = none +dotnet_diagnostic.SA1408.severity = none +dotnet_diagnostic.SA1413.severity = none +dotnet_diagnostic.SA1503.severity = error +dotnet_diagnostic.SA1516.severity = none +dotnet_diagnostic.SA1519.severity = error +dotnet_diagnostic.SA1600.severity = none +dotnet_diagnostic.SA1601.severity = none +dotnet_diagnostic.SA1602.severity = none +dotnet_diagnostic.SA1604.severity = none +dotnet_diagnostic.SA1605.severity = none +dotnet_diagnostic.SA1608.severity = none +dotnet_diagnostic.SA1611.severity = none +dotnet_diagnostic.SA1615.severity = none +dotnet_diagnostic.SA1618.severity = none +dotnet_diagnostic.SA1623.severity = none +dotnet_diagnostic.SA1629.severity = none +dotnet_diagnostic.SA1633.severity = none +dotnet_diagnostic.SA1634.severity = none +dotnet_diagnostic.SA1635.severity = none +dotnet_diagnostic.SA1636.severity = none +dotnet_diagnostic.SA1637.severity = none +dotnet_diagnostic.SA1638.severity = none +dotnet_diagnostic.SA1640.severity = none +dotnet_diagnostic.SA1641.severity = none +dotnet_diagnostic.SA1652.severity = none +dotnet_diagnostic.SX1101.severity = warning \ No newline at end of file diff --git a/Clockify.csproj b/Clockify.csproj index f70e283..9c865ab 100644 --- a/Clockify.csproj +++ b/Clockify.csproj @@ -7,7 +7,6 @@ true false Clockify.Program - StyleCop.ruleset false AllEnabledByDefault 1.8 @@ -37,15 +36,15 @@ - + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + - - all - runtime; build; native; contentfiles; analyzers; buildtransitive - + diff --git a/Clockify/PluginSettings.cs b/Clockify/PluginSettings.cs index 336f005..525d256 100644 --- a/Clockify/PluginSettings.cs +++ b/Clockify/PluginSettings.cs @@ -21,7 +21,7 @@ public class PluginSettings [JsonProperty(PropertyName = "clientName")] public string ClientName { get; set; } = string.Empty; - + [JsonProperty(PropertyName = "titleFormat")] public string TitleFormat { get; set; } = string.Empty; diff --git a/StyleCop.ruleset b/StyleCop.ruleset deleted file mode 100644 index d043005..0000000 --- a/StyleCop.ruleset +++ /dev/null @@ -1,44 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file