Skip to content

Commit 59f7bbd

Browse files
committed
Merge pull request #18 from dgalling/master
Report switch statement fall-through as an error
2 parents 5b3b0a7 + a2d3a12 commit 59f7bbd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

configs/inspection/Square.xml

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<inspections version="1.0" is_locked="false">
33
<option name="myName" value="Square" />
4+
<inspection_tool class="FallthruInSwitchStatement" enabled="true" level="ERROR" enabled_by_default="true" />
45
<inspection_tool class="UnnecessarySemicolon" enabled="true" level="ERROR" enabled_by_default="true" />
56
</inspections>
67

0 commit comments

Comments
 (0)