Skip to content

djseng/enforce-style

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mkdir enforce-style
cd enforce-style
dotnet new console
dotnet new editorconfig
dotnet new gitignore
dotnet new tool-manifest
dotnet tool run dotnet-csharpier . --check
echo '	Console.WriteLine("Hello, World!"); // tab on this line, .editorconfig configure to use spaces' > Program.cs

Add

  <Target Name="PreBuild" BeforeTargets="PreBuildEvent">
    <Exec Command="dotnet tool run dotnet-csharpier . --check" />
  </Target>

to the enforce_style.csproj

dotnet build

About

poc, enforce .editorconfig on build

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages