|
|
|
@ -5,17 +5,21 @@
|
|
|
|
|
<inspection_tool class="AssignmentResultUsedJS" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
|
|
|
<inspection_tool class="AssignmentToForLoopParameterJS" enabled="true" level="ERROR" enabled_by_default="true" />
|
|
|
|
|
<inspection_tool class="AssignmentToFunctionParameterJS" enabled="true" level="WEAK WARNING" enabled_by_default="true" />
|
|
|
|
|
<inspection_tool class="BreakStatementJS" enabled="true" level="SERVER PROBLEM" enabled_by_default="true" />
|
|
|
|
|
<inspection_tool class="BreakStatementWithLabelJS" enabled="true" level="ERROR" enabled_by_default="true" />
|
|
|
|
|
<inspection_tool class="ChainedEqualityJS" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
|
|
|
<inspection_tool class="CheckEmptyScriptTag" enabled="false" level="WARNING" enabled_by_default="false" />
|
|
|
|
|
<inspection_tool class="ConditionalExpressionWithIdenticalBranchesJS" enabled="true" level="ERROR" enabled_by_default="true" />
|
|
|
|
|
<inspection_tool class="ConstantIfStatementJS" enabled="true" level="ERROR" enabled_by_default="true" />
|
|
|
|
|
<inspection_tool class="ConstantOnLHSOfComparisonJS" enabled="true" level="ERROR" enabled_by_default="true" />
|
|
|
|
|
<inspection_tool class="ContinueStatementWithLabelJS" enabled="true" level="ERROR" enabled_by_default="true" />
|
|
|
|
|
<inspection_tool class="CssUnusedSymbolInspection" enabled="false" level="WARNING" enabled_by_default="false" />
|
|
|
|
|
<inspection_tool class="CssMissingSemicolonInspection" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
|
|
|
<inspection_tool class="CyclomaticComplexityJS" enabled="true" level="WARNING" enabled_by_default="true">
|
|
|
|
|
<option name="m_limit" value="10" />
|
|
|
|
|
</inspection_tool>
|
|
|
|
|
<inspection_tool class="DefaultNotLastCaseInSwitchJS" enabled="true" level="ERROR" enabled_by_default="true" />
|
|
|
|
|
<inspection_tool class="DuplicateConditionJS" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
|
|
|
<inspection_tool class="DynamicallyGeneratedCodeJS" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
|
|
|
<inspection_tool class="EmptyTryBlockJS" enabled="true" level="ERROR" enabled_by_default="true" />
|
|
|
|
|
<inspection_tool class="ExceptionCaughtLocallyJS" enabled="true" level="ERROR" enabled_by_default="true" />
|
|
|
|
|
<inspection_tool class="ForLoopReplaceableByWhileJS" enabled="true" level="INFO" enabled_by_default="true">
|
|
|
|
@ -41,7 +45,7 @@
|
|
|
|
|
<inspection_tool class="HtmlUnknownTag" enabled="true" level="WARNING" enabled_by_default="true">
|
|
|
|
|
<option name="myValues">
|
|
|
|
|
<value>
|
|
|
|
|
<list size="7">
|
|
|
|
|
<list size="8">
|
|
|
|
|
<item index="0" class="java.lang.String" itemvalue="nobr" />
|
|
|
|
|
<item index="1" class="java.lang.String" itemvalue="noembed" />
|
|
|
|
|
<item index="2" class="java.lang.String" itemvalue="comment" />
|
|
|
|
@ -49,16 +53,18 @@
|
|
|
|
|
<item index="4" class="java.lang.String" itemvalue="embed" />
|
|
|
|
|
<item index="5" class="java.lang.String" itemvalue="script" />
|
|
|
|
|
<item index="6" class="java.lang.String" itemvalue="icon" />
|
|
|
|
|
<item index="7" class="java.lang.String" itemvalue="p" />
|
|
|
|
|
</list>
|
|
|
|
|
</value>
|
|
|
|
|
</option>
|
|
|
|
|
<option name="myCustomValuesEnabled" value="true" />
|
|
|
|
|
</inspection_tool>
|
|
|
|
|
<inspection_tool class="IfStatementWithIdenticalBranchesJS" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
|
|
|
<inspection_tool class="IfStatementWithTooManyBranchesJS" enabled="true" level="WARNING" enabled_by_default="true">
|
|
|
|
|
<inspection_tool class="IfStatementWithIdenticalBranchesJS" enabled="true" level="ERROR" enabled_by_default="true" />
|
|
|
|
|
<inspection_tool class="IfStatementWithTooManyBranchesJS" enabled="true" level="ERROR" enabled_by_default="true">
|
|
|
|
|
<option name="m_limit" value="3" />
|
|
|
|
|
</inspection_tool>
|
|
|
|
|
<inspection_tool class="JSHint" enabled="true" level="ERROR" enabled_by_default="true" />
|
|
|
|
|
<inspection_tool class="JSPotentiallyInvalidUsageOfThis" enabled="true" level="SERVER PROBLEM" enabled_by_default="true" />
|
|
|
|
|
<inspection_tool class="JSUnresolvedVariable" enabled="false" level="WEAK WARNING" enabled_by_default="false" />
|
|
|
|
|
<inspection_tool class="JSUnusedGlobalSymbols" enabled="false" level="INFO" enabled_by_default="false" />
|
|
|
|
|
<inspection_tool class="LabeledStatementJS" enabled="true" level="ERROR" enabled_by_default="true" />
|
|
|
|
@ -68,6 +74,7 @@
|
|
|
|
|
<option name="m_maxLength" value="32" />
|
|
|
|
|
</inspection_tool>
|
|
|
|
|
<inspection_tool class="LossyEncoding" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
|
|
|
<inspection_tool class="NegatedIfStatementJS" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
|
|
|
<inspection_tool class="NestedAssignmentJS" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
|
|
|
<inspection_tool class="NestedFunctionCallJS" enabled="false" level="ERROR" enabled_by_default="false" />
|
|
|
|
|
<inspection_tool class="NestedSwitchStatementJS" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
|
|
@ -80,7 +87,6 @@
|
|
|
|
|
<option name="m_minLength" value="1" />
|
|
|
|
|
<option name="m_maxLength" value="32" />
|
|
|
|
|
</inspection_tool>
|
|
|
|
|
<inspection_tool class="ReplaceAssignmentWithOperatorAssignmentJS" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
|
|
|
<inspection_tool class="ReuseOfLocalVariableJS" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
|
|
|
<inspection_tool class="StatementsPerFunctionJS" enabled="true" level="WARNING" enabled_by_default="true">
|
|
|
|
|
<option name="m_limit" value="30" />
|
|
|
|
@ -94,6 +100,7 @@
|
|
|
|
|
</set>
|
|
|
|
|
</option>
|
|
|
|
|
</inspection_tool>
|
|
|
|
|
<inspection_tool class="ThreeNegationsPerFunctionJS" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
|
|
|
<inspection_tool class="UnterminatedStatementJS" enabled="true" level="ERROR" enabled_by_default="true">
|
|
|
|
|
<option name="ignoreSemicolonAtEndOfBlock" value="true" />
|
|
|
|
|
</inspection_tool>
|
|
|
|
|