@@ -7,86 +7,107 @@ version: "1.0"
77ide : QDNET
88# Specify inspection profile for code analysis
99profile :
10- name : qodana.starter
10+ name : qodana.starter
1111include :
12- - name : ConvertIfStatementToReturnStatement
13- - name : ConvertIfStatementToConditionalTernaryExpression
14- - name : AutoPropertyCanBeMadeGetOnly.Global
15- - name : CanReplaceCastWithLambdaReturnType
16- - name : ChangeFieldTypeToSystemThreadingLock
17- - name : ConvertIfStatementToSwitchStatement
18- - name : ConvertToConstant.Local
19- - name : DuplicatedSequentialIfBodies
20- - name : InlineTemporaryVariable
21- - name : InvertIf
22- - name : UseVerbatimString
23- - name : MemberCanBePrivate.Global
24- - name : MemberCanBeProtected.Global
25- - name : MergeIntoPattern
26- - name : UnusedMethodReturnValue.Global
27- - name : EditorConfigNoMatchingFiles
28- - name : PreferConcreteValueOverDefault
29- - name : PropertyCanBeMadeInitOnly.Global
30- - name : MoveLocalFunctionAfterJumpStatement
31- - name : RedundantExplicitParamsArrayCreation
32- - name : RedundantOverload.Global
33- - name : RedundantStringInterpolation
34- - name : RedundantVerbatimStringPrefix
35- - name : ReplaceSubstringWithRangeIndexer
36- - name : RCS1001
37- - name : RCS1003
38- - name : RCS1123
39- - name : SYSLIB1045
40- - name : CA1826
41- - name : RCS1256
42- - name : RCS1118
43- - name : RCS1077
44- - name : RCS1205
45- - name : RCS1214
46- - name : RCS1249
47- - name : RCS1192
48- - name : SYSLIB1054
49- - name : CA1512
50- - name : CA1866
51- - name : CA1859
52- - name : RCS1246
53- - name : CA1829
54- - name : RCS1266
55- - name : RCS1267
56- - name : RCS1227
57- - name : SwitchExpressionHandlesSomeKnownEnumValuesWithExceptionInDefault
58- - name : SwitchStatementHandlesSomeKnownEnumValuesWithDefault
59- - name : RedundantAlwaysMatchSubpattern
60- - name : UnusedType.Global
61- - name : UnusedMemberInSuper.Global
62- - name : UnusedMember.Local
63- - name : EditorConfigKeyCorrectness
64- - name : UseCollectionCountProperty
65- - name : UseDiscardAssignment
66- - name : ArrangeNamespaceBody
67- - name : SuggestDiscardDeclarationVarStyle
68- - name : ArrangeTrailingCommaInMultilineLists
69- - name : ArrangeObjectCreationWhenTypeNotEvident
70- - name : UseRawString
71- - name : VirtualMemberNeverOverridden.Global
72- - name : ArrangeVarKeywordsInDeconstructingDeclaration
73- - name : SuggestVarOrType_BuiltInTypes
12+ - name : ConvertIfStatementToReturnStatement
13+ - name : ConvertIfStatementToConditionalTernaryExpression
14+ - name : AutoPropertyCanBeMadeGetOnly.Global
15+ - name : CanReplaceCastWithLambdaReturnType
16+ - name : ChangeFieldTypeToSystemThreadingLock
17+ - name : ConvertIfStatementToSwitchStatement
18+ - name : ConvertToConstant.Local
19+ - name : DuplicatedSequentialIfBodies
20+ - name : InlineTemporaryVariable
21+ - name : InvertIf
22+ - name : UseVerbatimString
23+ - name : MemberCanBePrivate.Global
24+ - name : MemberCanBeProtected.Global
25+ - name : MergeIntoPattern
26+ - name : UnusedMethodReturnValue.Global
27+ - name : EditorConfigNoMatchingFiles
28+ - name : PreferConcreteValueOverDefault
29+ - name : PropertyCanBeMadeInitOnly.Global
30+ - name : MoveLocalFunctionAfterJumpStatement
31+ - name : RedundantExplicitParamsArrayCreation
32+ - name : RedundantOverload.Global
33+ - name : RedundantStringInterpolation
34+ - name : RedundantVerbatimStringPrefix
35+ - name : ReplaceSubstringWithRangeIndexer
36+ - name : RCS1001
37+ - name : RCS1003
38+ - name : RCS1123
39+ - name : SYSLIB1045
40+ - name : CA1826
41+ - name : RCS1256
42+ - name : RCS1118
43+ - name : RCS1077
44+ - name : RCS1205
45+ - name : RCS1214
46+ - name : RCS1249
47+ - name : RCS1192
48+ - name : SYSLIB1054
49+ - name : CA1512
50+ - name : CA1866
51+ - name : CA1859
52+ - name : RCS1246
53+ - name : CA1829
54+ - name : RCS1266
55+ - name : RCS1267
56+ - name : RCS1227
57+ - name : SwitchExpressionHandlesSomeKnownEnumValuesWithExceptionInDefault
58+ - name : SwitchStatementHandlesSomeKnownEnumValuesWithDefault
59+ - name : RedundantAlwaysMatchSubpattern
60+ - name : UnusedType.Global
61+ - name : UnusedMemberInSuper.Global
62+ - name : UnusedMember.Local
63+ - name : EditorConfigKeyCorrectness
64+ - name : UseCollectionCountProperty
65+ - name : UseDiscardAssignment
66+ - name : ArrangeNamespaceBody
67+ - name : SuggestDiscardDeclarationVarStyle
68+ - name : ArrangeTrailingCommaInMultilineLists
69+ - name : ArrangeObjectCreationWhenTypeNotEvident
70+ - name : UseRawString
71+ - name : VirtualMemberNeverOverridden.Global
72+ - name : ArrangeVarKeywordsInDeconstructingDeclaration
73+ - name : SuggestVarOrType_BuiltInTypes
7474# Enable inspections
7575# include:
7676# - name: <SomeEnabledInspectionId>
7777# Disable inspections
7878exclude :
79- - name : LoopCanBeConvertedToQuery
80- - name : ForeachCanBePartlyConvertedToQueryUsingAnotherGetEnumerator
81- - name : ConvertIfStatementToConditionalTernaryExpression
82- paths :
83- - GitVersion.Core.Tests/IntegrationTests/AlignGitFlowWithMainlineVersionStrategy.cs
84- - GitVersion.Core.Tests/IntegrationTests/AlignGitHubFlowWithMainlineVersionStrategy.cs
79+ - name : LoopCanBeConvertedToQuery
80+ - name : ForeachCanBePartlyConvertedToQueryUsingAnotherGetEnumerator
81+ - name : ConvertIfStatementToConditionalTernaryExpression
82+ paths :
83+ - GitVersion.Core.Tests/IntegrationTests/AlignGitFlowWithMainlineVersionStrategy.cs
84+ - GitVersion.Core.Tests/IntegrationTests/AlignGitHubFlowWithMainlineVersionStrategy.cs
85+ - name : MemberCanBeProtected.Global
86+ paths :
87+ - GitVersion.Configuration/Builders/BranchConfigurationBuilder.cs
88+ - GitVersion.Configuration/Builders/ConfigurationBuilderBase.cs
89+ - GitVersion.Core.Tests/Helpers/TestBase.cs
90+ - name : MemberCanBePrivate.Global
91+ paths :
92+ - GitVersion.Configuration/Builders/ConfigurationBuilderBase.cs
93+ - GitVersion.Configuration/Builders/IgnoreConfigurationBuilder.cs
94+ - GitVersion.Core/Helpers/FileSystemHelper.cs
95+ - GitVersion.Core/SemVer/SemanticVersionPreReleaseTag.cs
96+ - GitVersion.Core/SemVer/SemanticVersion.cs
97+ - GitVersion.Core/VersionCalculation/VersionCalculators/VersionCalculatorBase.cs
98+ - GitVersion.Core/Extensions/ConfigurationExtensions.cs
99+ - GitVersion.Core.Tests/Extensions/GitRepositoryTestingExtensions.cs
100+ - GitVersion.LibGit2Sharp/Git/Remote.cs
101+ - name : AutoPropertyCanBeMadeGetOnly.Global
102+ paths :
103+ - GitVersion.Core/SemVer/SemanticVersionPreReleaseTag.cs
104+ - GitVersion.Core/SemVer/SemanticVersionBuildMetaData.cs
105+ - GitVersion.MsBuild/Tasks/UpdateAssemblyInfo.cs
85106# Execute shell command before Qodana execution (Applied in CI/CD pipeline)
86107bootstrap : dotnet build src/GitVersion.slnx
87108dotnet :
88- frameworks : net8.0;net9.0
89- solution : src/GitVersion.slnx
109+ frameworks : net8.0;net9.0
110+ solution : src/GitVersion.slnx
90111# Install IDE plugins before Qodana execution (Applied in CI/CD pipeline)
91112# plugins:
92113# - id: <plugin.id> #(plugin id can be found at https://plugins.jetbrains.com)
0 commit comments