|
|
|
@ -6,9 +6,11 @@
|
|
|
|
|
<inspection_tool class="AssignmentToForLoopParameterJS" enabled="true" level="ERROR" enabled_by_default="true" />
|
|
|
|
|
<inspection_tool class="AssignmentToFunctionParameterJS" 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="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="CyclomaticComplexityJS" enabled="true" level="WARNING" enabled_by_default="true">
|
|
|
|
|
<option name="m_limit" value="10" />
|
|
|
|
|
</inspection_tool>
|
|
|
|
@ -25,11 +27,38 @@
|
|
|
|
|
<option name="m_maxLength" value="32" />
|
|
|
|
|
</inspection_tool>
|
|
|
|
|
<inspection_tool class="HtmlFormInputWithoutLabel" enabled="false" level="WEAK WARNING" enabled_by_default="false" />
|
|
|
|
|
<inspection_tool class="HtmlUnknownAttribute" enabled="true" level="WARNING" enabled_by_default="true">
|
|
|
|
|
<option name="myValues">
|
|
|
|
|
<value>
|
|
|
|
|
<list size="1">
|
|
|
|
|
<item index="0" class="java.lang.String" itemvalue="name" />
|
|
|
|
|
</list>
|
|
|
|
|
</value>
|
|
|
|
|
</option>
|
|
|
|
|
<option name="myCustomValuesEnabled" value="true" />
|
|
|
|
|
</inspection_tool>
|
|
|
|
|
<inspection_tool class="HtmlUnknownTag" enabled="true" level="WARNING" enabled_by_default="true">
|
|
|
|
|
<option name="myValues">
|
|
|
|
|
<value>
|
|
|
|
|
<list size="7">
|
|
|
|
|
<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" />
|
|
|
|
|
<item index="3" class="java.lang.String" itemvalue="noscript" />
|
|
|
|
|
<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" />
|
|
|
|
|
</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">
|
|
|
|
|
<option name="m_limit" value="3" />
|
|
|
|
|
</inspection_tool>
|
|
|
|
|
<inspection_tool class="JSHint" enabled="true" level="ERROR" enabled_by_default="true" />
|
|
|
|
|
<inspection_tool class="JSUnusedGlobalSymbols" enabled="false" level="INFO" enabled_by_default="false" />
|
|
|
|
|
<inspection_tool class="LabeledStatementJS" enabled="true" level="ERROR" enabled_by_default="true" />
|
|
|
|
|
<inspection_tool class="LocalVariableNamingConventionJS" enabled="true" level="WARNING" enabled_by_default="true">
|
|
|
|
|
<option name="m_regex" value="[a-z][A-Za-z]*" />
|
|
|
|
@ -50,11 +79,6 @@
|
|
|
|
|
</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="SpellCheckingInspection" enabled="true" level="WARNING" enabled_by_default="true">
|
|
|
|
|
<option name="processCode" value="true" />
|
|
|
|
|
<option name="processLiterals" value="true" />
|
|
|
|
|
<option name="processComments" value="true" />
|
|
|
|
|
</inspection_tool>
|
|
|
|
|
<inspection_tool class="StatementsPerFunctionJS" enabled="true" level="WARNING" enabled_by_default="true">
|
|
|
|
|
<option name="m_limit" value="30" />
|
|
|
|
|
</inspection_tool>
|
|
|
|
|