diff --git a/profile.yaml b/profile.yaml new file mode 100644 index 000000000..1e0a0d7d1 --- /dev/null +++ b/profile.yaml @@ -0,0 +1,12 @@ +name: "Custom profile" + +baseProfile: qodana.starter + +groups: # List of configured groups + - groupId: InspectionsToExclude + groups: + - "category:C#/Roslyn Analyzers" + +inspections: # Group invocation + - group: InspectionsToExclude + enabled: false # Disable the InspectionsToExclude group diff --git a/qodana.yaml b/qodana.yaml index 5bde305e7..c9def8eb5 100644 --- a/qodana.yaml +++ b/qodana.yaml @@ -3,12 +3,19 @@ version: "1.0" linter: jetbrains/qodana-dotnet:latest failThreshold: 0 +profile: + path: profile.yaml + dotnet: solution: FluentAssertions.sln exclude: - name: ConvertIfStatementToReturnStatement - name: ConvertIfStatementToConditionalTernaryExpression + - name: InvertIf + - name: SimilarAnonymousTypeNearby + paths: + - Tests - name: All paths: - Build @@ -16,4 +23,11 @@ exclude: - Tests/AssemblyB - Tests/Benchmarks - Tests/UWP.Specs - \ No newline at end of file + - Src/FluentAssertions/Polyfill + - name: UnusedMember.Global + - name: ArrangeTrailingCommaInMultilineLists + - name: ArrangeTrailingCommaInSinglelineLists + - name: ConvertToLambdaExpression + - name: SwitchExpressionHandlesSomeKnownEnumValuesWithExceptionInDefault + - name: UnusedMemberInSuper.Global + \ No newline at end of file