Disable the IntelliJ inspection for string templates (#124570)

IntelliJ has been suggesting switching to string templates (at least
it has for me). This is unhelpful advice, since the feature was only
ever a tech preview and was removed in more recent JVMs. This change
disables that inspection.
This commit is contained in:
Pete Gillin 2025-03-11 16:13:05 +00:00 committed by GitHub
parent d8e889acb6
commit 6cb5f8360b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -9,6 +9,7 @@
<inspection_tool class="PointlessBooleanExpression" enabled="false" level="WARNING" enabled_by_default="false">
<option name="m_ignoreExpressionsContainingConstants" value="true" />
</inspection_tool>
<inspection_tool class="StringTemplateMigration" enabled="false" level="WARNING" enabled_by_default="false" />
<inspection_tool class="jol" enabled="false" level="WARNING" enabled_by_default="false" />
</profile>
</component>