Introduce "Logger initialized with foreign class" inspection

^KT-38982 Fixed
This commit is contained in:
Toshiaki Kameyama
2020-05-16 11:48:19 +09:00
committed by Nikita Bobko
parent c6e23ffa3b
commit 23c4eac45b
35 changed files with 707 additions and 1 deletions
@@ -3316,6 +3316,14 @@
language="kotlin"
key="inspection.redundant.elvis.return.null.display.name" bundle="messages.KotlinBundle"/>
<localInspection implementationClass="org.jetbrains.kotlin.idea.inspections.logging.KotlinLoggerInitializedWithForeignClassInspection"
groupPath="Kotlin"
groupName="Logging"
enabledByDefault="false"
level="WARNING"
language="kotlin"
key="inspection.logger.initialized.with.foreign.class.display.name" bundle="messages.KotlinBundle"/>
<projectService serviceImplementation="org.jetbrains.kotlin.idea.codeInsight.KotlinCodeInsightWorkspaceSettings"/>
<applicationService serviceImplementation="org.jetbrains.kotlin.idea.codeInsight.KotlinCodeInsightSettings"/>