Add a rule for invalid characters in names

This commit is contained in:
Dmitry Jemerov
2018-01-02 13:17:31 +01:00
parent f83c5344d7
commit 84d63051f9
5 changed files with 46 additions and 9 deletions
@@ -13,4 +13,12 @@
<entry_point TYPE="file" FQNAME="temp:///src/test.kt" />
<description>Function name &lt;code&gt;FOO_BAR&lt;/code&gt; should not contain underscores #loc</description>
</problem>
<problem>
<file>test.kt</file>
<line>7</line>
<module>light_idea_test_case</module>
<entry_point TYPE="file" FQNAME="temp:///src/test.kt" />
<problem_class severity="WARNING" attribute_key="WARNING_ATTRIBUTES">Class naming convention</problem_class>
<description>Function name &lt;code&gt;`a b`&lt;/code&gt; may contain only letters and digits #loc</description>
</problem>
</problems>