Skip to content

Commit

Permalink
Turn off RoslynAnalyzers in Qodana WF (fluentassertions#2504)
Browse files Browse the repository at this point in the history
* Create profile.yaml

* Update qodana.yaml

* Update profile.yaml

* Update code_quality.yml

* Update code_quality.yml
  • Loading branch information
hybloid authored and jnyrup committed Aug 24, 2024
1 parent 978aab8 commit 58fd4bc
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 1 deletion.
12 changes: 12 additions & 0 deletions profile.yaml
Original file line number Diff line number Diff line change
@@ -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
16 changes: 15 additions & 1 deletion qodana.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,31 @@ 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
- Tests/AssemblyA
- Tests/AssemblyB
- Tests/Benchmarks
- Tests/UWP.Specs

- Src/FluentAssertions/Polyfill
- name: UnusedMember.Global
- name: ArrangeTrailingCommaInMultilineLists
- name: ArrangeTrailingCommaInSinglelineLists
- name: ConvertToLambdaExpression
- name: SwitchExpressionHandlesSomeKnownEnumValuesWithExceptionInDefault
- name: UnusedMemberInSuper.Global

0 comments on commit 58fd4bc

Please sign in to comment.