KT-39869 Add ObsoleteKotlinJsPackagesInspection inspection

- This inspection allows to migrate from `kotlin.dom|kotlin.browser`
to `kotlinx.dom|kotlinx.browser` packages respectively
- This inspection is available from the import statements, and also
from the `Run migrations` action
- ^KT-39869 Fixed
This commit is contained in:
Roman Golyshev
2020-06-30 20:36:19 +03:00
committed by Roman Golyshev
parent ec087e8f3d
commit 75de352ce2
15 changed files with 177 additions and 0 deletions
+9
View File
@@ -2162,6 +2162,15 @@
language="kotlin"
key="inspection.obsolete.experimental.coroutines.display.name" bundle="messages.KotlinBundle"/>
<localInspection implementationClass="org.jetbrains.kotlin.idea.inspections.migration.ObsoleteKotlinJsPackagesInspection"
groupPath="Kotlin"
groupName="Migration"
enabledByDefault="true"
cleanupTool="true"
level="ERROR"
language="kotlin"
key="inspection.obsolete.kotlin.js.packages.display.name" bundle="messages.KotlinBundle"/>
<localInspection implementationClass="org.jetbrains.kotlin.idea.inspections.RedundantWithInspection"
groupPath="Kotlin"
groupName="Redundant constructs"