add support for StyleCop+
This commit is contained in:
@@ -360,5 +360,40 @@
|
||||
</Rules>
|
||||
<AnalyzerSettings />
|
||||
</Analyzer>
|
||||
<Analyzer AnalyzerId="StyleCopPlus.StyleCopPlusRules">
|
||||
<Rules>
|
||||
<Rule Name="CodeLineMustNotEndWithWhitespace">
|
||||
<RuleSettings>
|
||||
<BooleanProperty Name="Enabled">False</BooleanProperty>
|
||||
</RuleSettings>
|
||||
</Rule>
|
||||
<Rule Name="CheckAllowedIndentationCharacters">
|
||||
<RuleSettings>
|
||||
<BooleanProperty Name="Enabled">False</BooleanProperty>
|
||||
</RuleSettings>
|
||||
</Rule>
|
||||
<Rule Name="CheckWhetherLastCodeLineIsEmpty">
|
||||
<RuleSettings>
|
||||
<BooleanProperty Name="Enabled">False</BooleanProperty>
|
||||
</RuleSettings>
|
||||
</Rule>
|
||||
<Rule Name="CodeLineMustNotBeLongerThan">
|
||||
<RuleSettings>
|
||||
<BooleanProperty Name="Enabled">False</BooleanProperty>
|
||||
</RuleSettings>
|
||||
</Rule>
|
||||
<Rule Name="MethodMustNotContainMoreLinesThan">
|
||||
<RuleSettings>
|
||||
<BooleanProperty Name="Enabled">False</BooleanProperty>
|
||||
</RuleSettings>
|
||||
</Rule>
|
||||
<Rule Name="AdvancedNamingRules">
|
||||
<RuleSettings>
|
||||
<BooleanProperty Name="Enabled">False</BooleanProperty>
|
||||
</RuleSettings>
|
||||
</Rule>
|
||||
</Rules>
|
||||
<AnalyzerSettings />
|
||||
</Analyzer>
|
||||
</Analyzers>
|
||||
</StyleCopSettings>
|
||||
8
thirdparty/fetch-thirdparty-deps.ps1
vendored
8
thirdparty/fetch-thirdparty-deps.ps1
vendored
@@ -9,6 +9,14 @@ if (!(Test-Path "nuget.exe"))
|
||||
(New-Object System.Net.WebClient).DownloadFile("http://nuget.org/nuget.exe", $target)
|
||||
}
|
||||
|
||||
if (!(Test-Path "StyleCopPlus.dll"))
|
||||
{
|
||||
echo "Fetching StyleCopPlus from NuGet."
|
||||
./nuget.exe install StyleCopPlus.MSBuild -Version 4.7.49.5
|
||||
cp StyleCopPlus.MSBuild.4.7.49.5/tools/StyleCopPlus.dll .
|
||||
rmdir StyleCopPlus.MSBuild.4.7.49.5 -Recurse
|
||||
}
|
||||
|
||||
if (!(Test-Path "StyleCop.dll"))
|
||||
{
|
||||
echo "Fetching StyleCop files from NuGet."
|
||||
|
||||
7
thirdparty/fetch-thirdparty-deps.sh
vendored
7
thirdparty/fetch-thirdparty-deps.sh
vendored
@@ -3,6 +3,13 @@
|
||||
# Die on any error for Travis CI to automatically retry:
|
||||
set -e
|
||||
|
||||
if [ ! -f StyleCopPlus.dll ]; then
|
||||
echo "Fetching StyleCopPlus from nuget"
|
||||
nuget install StyleCopPlus.MSBuild -Version 4.7.49.5
|
||||
cp ./StyleCopPlus.MSBuild.4.7.49.5/tools/StyleCopPlus.dll .
|
||||
rm -rf StyleCopPlus.MSBuild.4.7.49.5
|
||||
fi
|
||||
|
||||
if [ ! -f StyleCop.dll ]; then
|
||||
echo "Fetching StyleCop files from nuget"
|
||||
nuget install StyleCop.MSBuild -Version 4.7.49.0
|
||||
|
||||
Reference in New Issue
Block a user