-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into release/Gendarme
- Loading branch information
Showing
6 changed files
with
116 additions
and
72 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,44 +1,48 @@ | ||
<gendarme> | ||
<ruleset name="default"> | ||
<rules include="*" | ||
exclude="AvoidAssemblyVersionMismatchRule" | ||
from="Gendarme.Rules.BadPractice.dll" /> | ||
<rules include="*" from="Gendarme.Rules.Concurrency.dll" /> | ||
<rules include="*" | ||
from="Gendarme.Rules.Correctness.dll" /> | ||
<rules include="*" | ||
exclude="AvoidSmallNamespaceRule " | ||
from="Gendarme.Rules.Design.dll" /> | ||
<rules include="*" | ||
exclude="AvoidMethodWithUnusedGenericTypeRule" | ||
from="Gendarme.Rules.Design.Generic.dll" /> | ||
<rules include="*" | ||
from="Gendarme.Rules.Design.Linq.dll" /> | ||
<rules include="*" | ||
exclude="InstantiateArgumentExceptionCorrectlyRule" | ||
from="Gendarme.Rules.Exceptions.dll" /> | ||
<rules include="*" from="Gendarme.Rules.Interoperability.dll" /> | ||
<rules include="*" from="Gendarme.Rules.Interoperability.Com.dll" /> | ||
<rules include="*" | ||
exclude="UseCorrectCasingRule | AvoidNonAlphanumericIdentifierRule" | ||
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="MarkAllNonSerializableFieldsRule" | ||
from="Gendarme.Rules.Serialization.dll" /> | ||
<rules include="*" | ||
from="Gendarme.Rules.Smells.dll" /> | ||
<rules include="*" from="Gendarme.Rules.Ui.dll" /> | ||
<rules include="*" | ||
from="Gendarme.Rules.Maintainability.dll" /> | ||
<rules include="*" | ||
from="Gendarme.Rules.Gendarme.dll" /> | ||
<!-- Assembly not in nugget --> | ||
<!-- rules include="*" from="Gendarme.Rules.Globalization.dll"/ --> | ||
</ruleset> | ||
<ruleset name="default"> | ||
<rules include="*" | ||
exclude="AvoidAssemblyVersionMismatchRule | AvoidVisibleConstantFieldRule" | ||
from="Gendarme.Rules.BadPractice.dll" /> | ||
<rules include="*" from="Gendarme.Rules.Concurrency.dll" /> | ||
<rules include="*" | ||
exclude = "CheckParametersNullityInVisibleMethodsRule | EnsureLocalDisposalRule" | ||
from="Gendarme.Rules.Correctness.dll" /> | ||
<rules include="*" | ||
exclude="AvoidSmallNamespaceRule | ConsiderConvertingMethodToPropertyRule | AvoidVisibleNestedTypesRule | AvoidMultidimensionalIndexerRule" | ||
from="Gendarme.Rules.Design.dll" /> | ||
<rules include="*" | ||
exclude="AvoidMethodWithUnusedGenericTypeRule" | ||
from="Gendarme.Rules.Design.Generic.dll" /> | ||
<rules include="*" | ||
from="Gendarme.Rules.Design.Linq.dll" /> | ||
<rules include="*" | ||
exclude="InstantiateArgumentExceptionCorrectlyRule" | ||
from="Gendarme.Rules.Exceptions.dll" /> | ||
<rules include="*" from="Gendarme.Rules.Interoperability.dll" /> | ||
<rules include="*" from="Gendarme.Rules.Interoperability.Com.dll" /> | ||
<rules include="*" | ||
exclude="UseCorrectCasingRule | AvoidNonAlphanumericIdentifierRule | UseCorrectPrefixRule | ParameterNamesShouldMatchOverriddenMethodRule | AvoidDeepNamespaceHierarchyRule" | ||
from="Gendarme.Rules.Naming.dll" /> | ||
<rules include="*" | ||
exclude="AvoidUnsealedUninheritedInternalTypeRule" | ||
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="MarkAllNonSerializableFieldsRule" | ||
from="Gendarme.Rules.Serialization.dll" /> | ||
<rules include="*" | ||
exclude="AvoidSwitchStatementsRule | AvoidLongParameterListsRule" | ||
from="Gendarme.Rules.Smells.dll" /> | ||
<rules include="*" from="Gendarme.Rules.Ui.dll" /> | ||
<rules include="*" | ||
exclude="VariableNamesShouldNotMatchFieldNamesRule" | ||
from="Gendarme.Rules.Maintainability.dll" /> | ||
<rules include="*" | ||
from="Gendarme.Rules.Gendarme.dll" /> | ||
<!-- Assembly not in nugget --> | ||
<!-- rules include="*" from="Gendarme.Rules.Globalization.dll"/ --> | ||
</ruleset> | ||
</gendarme> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,7 @@ | ||
# 5.9.3.10 | ||
* [BUGFIX] As "--limit 0" means "report nothing" not "report all", make zero limit emit nothing to the command line | ||
* [Enhancement] `FailBuildOnDefect` parameter, default `true`, to determine if defect detection will fail the build. | ||
* **NOTE** whether --limit is set > 0 or omitted, if there are > 0 defects reported Gendarme exits with return code 1. It limit is set zero, or there are no defects against the rules engaged, then it returns 0. Failing the build on >= N defects for N > 0 does not come for free, but would require parsing one form of output or another, and no form of output is guaranteed -- they can all be switched off. | ||
|
||
# 5.9.3.7 | ||
* [NEW PACKAGE] `AltCode.Fake.DotNet.Gendarme` containing Gendarme task helper types for FAKE scripts (v5.9.3 or later) : see Wiki entry [The `AltCode.Fake.DotNet.Gendarme` package](https://github.com/SteveGilham/altcode.Fake/wiki/The-AltCode.Fake.DotNet.Gendarme-package) |