142 строки
6.6 KiB
XML
142 строки
6.6 KiB
XML
<gendarme>
|
|
<ruleset name="default">
|
|
<rules include="*" from="Gendarme.Rules.BadPractice.dll"/>
|
|
<rules include="*" from="Gendarme.Rules.Concurrency.dll" />
|
|
<rules include="*" from="Gendarme.Rules.Correctness.dll"/>
|
|
<rules include="*" from="Gendarme.Rules.Design.dll"/>
|
|
<rules include="*" from="Gendarme.Rules.Design.Generic.dll"/>
|
|
<rules include="*" from="Gendarme.Rules.Design.Linq.dll"/>
|
|
<rules include="*" from="Gendarme.Rules.Exceptions.dll" />
|
|
<rules include="*" from="Gendarme.Rules.Interoperability.dll"/>
|
|
<rules include="*" from="Gendarme.Rules.Naming.dll"/>
|
|
<rules include="*" from="Gendarme.Rules.Performance.dll" />
|
|
<rules include="*" from="Gendarme.Rules.Portability.dll" />
|
|
<rules include="*" from="Gendarme.Rules.Security.dll" />
|
|
<rules include="*" from="Gendarme.Rules.Security.Cas.dll" />
|
|
<rules include="*" from="Gendarme.Rules.Serialization.dll" />
|
|
<rules include="*" from="Gendarme.Rules.Ui.dll" />
|
|
<rules include="*" from="Gendarme.Rules.Maintainability.dll"/>
|
|
<rules include="*" from="Gendarme.Rules.Globalization.dll"/>
|
|
<!-- no rule from Gendarme.Rules.Gendarme is included in this set -->
|
|
<!-- no rule from Gendarme.Rules.Interoperability.Com is included in this set -->
|
|
<!-- no rule from Gendarme.Rules.NUnit is included in this set -->
|
|
<!-- no rule from Gendarme.Rules.Smells is included in this set -->
|
|
</ruleset>
|
|
|
|
<ruleset name="xamarin">
|
|
<rules include="*" from="Gendarme.Rules.Xamarin.dll"/>
|
|
</ruleset>
|
|
|
|
<ruleset name="component-store">
|
|
<rules include="*" exclude="PreferTryParseRule | CheckNewExceptionWithoutThrowingRule" from="Gendarme.Rules.BadPractice.dll"/>
|
|
<rules include="*" from="Gendarme.Rules.Concurrency.dll" />
|
|
<rules include="*" from="Gendarme.Rules.Correctness.dll"/>
|
|
<rules include="*" exclude="PreferUriOverStringRule | AttributeArgumentsShouldHaveAccessorsRule" from="Gendarme.Rules.Design.dll"/>
|
|
<rules include="*" from="Gendarme.Rules.Design.Generic.dll"/>
|
|
<rules include="*" from="Gendarme.Rules.Design.Linq.dll"/>
|
|
<rules include="*" from="Gendarme.Rules.Exceptions.dll" />
|
|
<rules include="*" from="Gendarme.Rules.Interoperability.dll"/>
|
|
<rules include="*" exclude="UseCorrectPrefixRule" from="Gendarme.Rules.Naming.dll"/>
|
|
<rules include="*" from="Gendarme.Rules.Performance.dll" />
|
|
<rules include="*" from="Gendarme.Rules.Portability.dll" />
|
|
<rules include="*" from="Gendarme.Rules.Security.dll" />
|
|
<rules include="*" from="Gendarme.Rules.Security.Cas.dll" />
|
|
<rules include="*" exclude="MissingSerializableAttributeOnISerializableTypeRule"
|
|
from="Gendarme.Rules.Serialization.dll" />
|
|
<rules include="*" exclude="AvoidComplexMethodsRule
|
|
| AvoidAlwaysNullFieldRule | AvoidDeepInheritanceTreeRule
|
|
| AvoidLackOfCohesionOfMethodsRule | AvoidUnnecessarySpecializationRule
|
|
| ConsiderUsingStopwatchRule | PreferStringIsNullOrEmptyRule
|
|
| ReviewMisleadingFieldNamesRule | VariableNamesShouldNotMatchFieldNamesRule"
|
|
from="Gendarme.Rules.Maintainability.dll"/>
|
|
<rules include="*" from="Gendarme.Rules.Globalization.dll"/>
|
|
<!-- rules include="*" from="Gendarme.Rules.Xamarin.dll" -->
|
|
<!-- no rule from Gendarme.Rules.Gendarme is included in this set -->
|
|
<!-- no rule from Gendarme.Rules.Interoperability.Com is included in this set -->
|
|
<!-- no rule from Gendarme.Rules.NUnit is included in this set -->
|
|
<!-- no rule from Gendarme.Rules.Smells is included in this set -->
|
|
</ruleset>
|
|
|
|
<ruleset name="mono-bcl">
|
|
<rules include="*" from="Gendarme.Rules.BadPractice.dll"/>
|
|
<rules include="*" from="Gendarme.Rules.Concurrency.dll"/>
|
|
<rules include="*" exclude="AvoidConstructorsInStaticTypesRule | MethodCanBeMadeStaticRule | NullDerefRule"
|
|
from="Gendarme.Rules.Correctness.dll"/>
|
|
<!-- no rule from Design is included in this set -->
|
|
<rules include="DontDestroyStackTraceRule" from="Gendarme.Rules.Exceptions.dll"/>
|
|
<rules include="*" from="Gendarme.Rules.Interoperability.dll"/>
|
|
<!-- no rule from Naming is included in this set -->
|
|
<rules include="IDisposableWithDesctuctorWithoutSupressFinalizeRule | DontIgnoreMethodResultRule |
|
|
UseStringEmptyRule | AvoidToStringOnStringsRule | UsingStringLengthInsteadOfCheckingEmptyStringRule"
|
|
from="Gendarme.Rules.Performance.dll"/>
|
|
<rules include="*" exclude="MonoCompatibilityReviewRule" from="Gendarme.Rules.Portability.dll"/>
|
|
<rules include="*" exclude="ArrayFieldsShouldNotBeReadOnlyRule | NativeFieldsShouldNotBeVisibleRule"
|
|
from="Gendarme.Rules.Security.dll"/>
|
|
<!-- no rule from Ui is included in this set -->
|
|
</ruleset>
|
|
|
|
<ruleset name="concurrency">
|
|
<rules include="*" from="Gendarme.Rules.Concurrency.dll" />
|
|
</ruleset>
|
|
<ruleset name="correctness">
|
|
<rules include="*" from="Gendarme.Rules.Correctness.dll" />
|
|
</ruleset>
|
|
<ruleset name="security">
|
|
<rules include="*" from="Gendarme.Rules.Security.dll" />
|
|
</ruleset>
|
|
<ruleset name="security-cas">
|
|
<rules include="*" from="Gendarme.Rules.Security.Cas.dll" />
|
|
</ruleset>
|
|
<ruleset name="performance">
|
|
<rules include="*" from="Gendarme.Rules.Performance.dll" />
|
|
</ruleset>
|
|
<ruleset name="portability">
|
|
<rules include="*" from="Gendarme.Rules.Portability.dll" />
|
|
</ruleset>
|
|
<ruleset name="exceptions">
|
|
<rules include="*" from="Gendarme.Rules.Exceptions.dll" />
|
|
</ruleset>
|
|
<ruleset name="ui">
|
|
<rules include="*" from="Gendarme.Rules.Ui.dll" />
|
|
</ruleset>
|
|
<ruleset name="naming">
|
|
<rules include="*" from="Gendarme.Rules.Naming.dll"/>
|
|
</ruleset>
|
|
<ruleset name="unit-test">
|
|
<rules include="*" from="Gendarme.Rules.NUnit.dll"/>
|
|
</ruleset>
|
|
<ruleset name="smells">
|
|
<rules include="*" from="Gendarme.Rules.Smells.dll"/>
|
|
</ruleset>
|
|
<ruleset name="badpractice">
|
|
<rules include="*" from="Gendarme.Rules.BadPractice.dll"/>
|
|
</ruleset>
|
|
<ruleset name="design">
|
|
<rules include="*" from="Gendarme.Rules.Design.dll"/>
|
|
</ruleset>
|
|
<ruleset name="design-generic">
|
|
<rules include="*" from="Gendarme.Rules.Design.Generic.dll"/>
|
|
</ruleset>
|
|
<ruleset name="design-linq">
|
|
<rules include="*" from="Gendarme.Rules.Design.Linq.dll"/>
|
|
</ruleset>
|
|
<ruleset name="interoperability">
|
|
<rules include="*" from="Gendarme.Rules.Interoperability.dll"/>
|
|
</ruleset>
|
|
<ruleset name="interop-com">
|
|
<rules include="*" from="Gendarme.Rules.Interoperability.Com.dll"/>
|
|
</ruleset>
|
|
<ruleset name="serialization">
|
|
<rules include="*" from="Gendarme.Rules.Serialization.dll"/>
|
|
</ruleset>
|
|
<ruleset name="maintainability">
|
|
<rules include="*" from="Gendarme.Rules.Maintainability.dll"/>
|
|
</ruleset>
|
|
<ruleset name="gendarme">
|
|
<rules include="*" from="Gendarme.Rules.Gendarme.dll"/>
|
|
</ruleset>
|
|
<ruleset name="globalization">
|
|
<rules include="*" from="Gendarme.Rules.Globalization.dll"/>
|
|
</ruleset>
|
|
</gendarme>
|