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 Sep 9, 2024
1 parent 2181217 commit d58e0b5
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 d58e0b5

Please sign in to comment.