StyleCop updated; stylecop settings added

dependabot/npm_and_yarn/BuildServer/eslint-7.2.0
Inga 🏳‍🌈 9 years ago
parent a33c65feb9
commit 859c465ff5
  1. 1
      DotNetBuilder/.gitignore
  2. 3
      DotNetBuilder/ImportStyleCop.targets
  3. 5
      DotNetBuilder/MicroBuildServer.DotNetBuilder.csproj
  4. 2
      DotNetBuilder/packages.config
  5. 13
      DotNetBuilder/stylecop.json

@ -0,0 +1 @@
!stylecop.json

@ -1,5 +1,8 @@
<?xml version="1.0" encoding="utf-8" ?>
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<AdditionalFiles Include="$(MBSBuilderPath)\stylecop.json" />
</ItemGroup>
<ItemGroup>
<Analyzer Include="$(MBSBuilderPath)\StyleCop.Analyzers.dll" />
</ItemGroup>

@ -84,7 +84,7 @@
<HintPath>..\packages\NUnit.Runners.2.6.3\tools\lib\nunit.util.dll</HintPath>
</Reference>
<Reference Include="StyleCop.Analyzers">
<HintPath>..\packages\StyleCop.Analyzers.1.0.0-beta009\analyzers\dotnet\cs\StyleCop.Analyzers.dll</HintPath>
<HintPath>..\packages\StyleCop.Analyzers.1.0.0-beta012\analyzers\dotnet\cs\StyleCop.Analyzers.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.Core" />
@ -117,6 +117,9 @@
<Content Include="ImportStyleCop.targets">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
<Content Include="stylecop.json">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<Import Project="$(SolutionDir)\.nuget\NuGet.targets" Condition="Exists('$(SolutionDir)\.nuget\NuGet.targets')" />

@ -4,5 +4,5 @@
<package id="NuGet.CommandLine" version="2.8.5" targetFramework="net4" />
<package id="NUnit" version="2.6.3" targetFramework="net4" />
<package id="NUnit.Runners" version="2.6.3" targetFramework="net4" />
<package id="StyleCop.Analyzers" version="1.0.0-beta009" targetFramework="net46" developmentDependency="true" />
<package id="StyleCop.Analyzers" version="1.0.0-beta012" targetFramework="net46" developmentDependency="true" />
</packages>

@ -0,0 +1,13 @@
{
"settings": {
"documentationRules": {
"companyName": "PayOnline",
"copyrightText": "Copyright (c) {companyName}. All rights reserved.",
"documentInterfaces": true,
"documentExposedElements": true,
"documentInternalElements": false,
"documentPrivateElements": false,
"documentPrivateFields": false
}
}
}
Loading…
Cancel
Save