Skip to content

Commit

Permalink
added .editorconfig, code formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
Anass Bouassaba committed Nov 4, 2019
1 parent e3f1eab commit e8afad8
Show file tree
Hide file tree
Showing 14 changed files with 347 additions and 329 deletions.
7 changes: 7 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
[*]
charset=utf-8
end_of_line=lf
trim_trailing_whitespace=false
insert_final_newline=false
indent_style=space
indent_size=2
12 changes: 6 additions & 6 deletions NuSave.Core/IPackageExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@

namespace NuSave.Core
{
public static class IPackageExtensions
public static class IPackageExtensions
{
public static string GetFileName(this IPackage package)
{
public static string GetFileName(this IPackage package)
{
return $"{package.Id}.{package.Version}.nupkg".ToLower();
}
return $"{package.Id}.{package.Version}.nupkg".ToLower();
}
}
}
}
12 changes: 6 additions & 6 deletions NuSave.Core/MsBuildPackageRef.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
namespace NuSave.Core
{
public class MsBuildPackageRef
{
public string Include { get; set; }
public string Version { get; set; }
}
}
public class MsBuildPackageRef
{
public string Include { get; set; }
public string Version { get; set; }
}
}
Loading

0 comments on commit e8afad8

Please sign in to comment.