Skip to content

Commit 07dd880

Browse files
authored
Add Plugin DevKit checks to Qodana configuration (#4749)
1 parent 511d3dd commit 07dd880

File tree

2 files changed

+55
-0
lines changed

2 files changed

+55
-0
lines changed

.github/workflows/qodana.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,12 @@ concurrency:
1414
jobs:
1515
qodana:
1616
runs-on: ubuntu-latest
17+
permissions:
18+
checks: write
1719
steps:
1820
- uses: actions/checkout@v4
1921
with:
22+
ref: ${{ github.event.pull_request.head.sha }}
2023
fetch-depth: 0
2124
- name: Maximize Build Space
2225
if: runner.os == 'Linux'

qodana.yaml

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
version: 1.0
22
linter: jetbrains/qodana-jvm-community:latest
33
projectJDK: "21"
4+
bootstrap: ./gradlew :plugin-core:sdk-codegen:generateSdks :plugin-core:jetbrains-community:generateTelemetry
45
profile:
56
name: qodana.recommended
67
exclude:
@@ -9,3 +10,54 @@ exclude:
910
- .qodana
1011
dot-net:
1112
solution: ReSharper.AWS.sln
13+
include:
14+
- name: DevKitPropertiesMessageValidation
15+
- name: KotlinObjectExtensionRegistration
16+
- name: LightServiceMigrationXML
17+
- name: IncorrectProcessCanceledExceptionHandling
18+
- name: LightServiceMigrationCode
19+
- name: MissingActionUpdateThread
20+
- name: ApplicationServiceAsStaticFinalFieldOrProperty
21+
- name: CallingMethodShouldBeRequiresBlockingContext
22+
- name: CancellationCheckInLoops
23+
- name: CompanionObjectInExtension
24+
- name: ComponentRegistrationProblems
25+
- name: ComponentNotRegistered
26+
- name: ActionPresentationInstantiatedInCtor
27+
- name: ExtensionClassShouldBeFinalAndNonPublic
28+
- name: ExtensionRegisteredAsServiceOrComponent
29+
- name: ActionIsNotPreviewFriendly
30+
- name: FileEqualsUsage
31+
- name: ForbiddenInSuspectContextMethod
32+
- name: IncorrectParentDisposable
33+
- name: IncorrectServiceRetrieving
34+
- name: PresentationAnnotation
35+
- name: KotlinObjectRegisteredAsExtension
36+
- name: LightServiceMustBeFinal
37+
- name: ListenerImplementationMustNotBeDisposable
38+
- name: LeakableMapKey
39+
- name: MigrateToOptControl
40+
- name: MismatchedLightServiceLevelAndCtor
41+
- name: SerializableCtor
42+
- name: NonDefaultConstructor
43+
- name: InspectionUsingGrayColors
44+
- name: PsiElementConcatenation
45+
- name: UseDPIAwareInsets
46+
- name: UseDPIAwareBorders
47+
- name: UseJBColor
48+
- name: UseVirtualFileEquals
49+
- name: UsePrimitiveTypes
50+
- name: UsePluginIdEquals
51+
- name: UsePlatformProcessAwaitExit
52+
- name: UnspecifiedActionsPlace
53+
- name: UnsafeVfsRecursion
54+
- name: UnsafeReturnStatementVisitor
55+
- name: UnresolvedPluginConfigReference
56+
- name: UndesirableClassUsage
57+
- name: UElementAsPsi
58+
- name: ThreadingConcurrency
59+
- name: StaticInitializationInExtensions
60+
- name: StatefulEp
61+
- name: SimplifiableServiceRetrieving
62+
- name: QuickFixGetFamilyNameViolation
63+
- name: TokenSetInParserDefinition

0 commit comments

Comments
 (0)