message-me/.idea/inspectionProfiles/Project_Default.xml

108 lines
8.7 KiB
XML

<component name="InspectionProjectProfileManager">
<profile version="1.0">
<option name="myName" value="Project Default" />
<inspection_tool class="CustomRegExpInspection" enabled="true" level="WARNING" enabled_by_default="true">
<option name="myConfigurations">
<list>
<RegExpInspectionConfiguration>
<option name="name" value="Fix &lt;p&gt; in Javadoc" />
<option name="uuid" value="5942e1f5-9a7e-3be0-a7b3-e12e3c5e3676" />
<option name="patterns">
<list>
<InspectionPattern>
<option name="regExp" value="(\*) ?(&lt;p&gt;)(\s+\*)+ +(\S)" />
<option name="_fileType" value="UNKNOWN" />
<option name="searchContext" value="ANY" />
<option name="replacement" value="$1 $2$4" />
</InspectionPattern>
<InspectionPattern>
<option name="regExp" value="([^ \t\n*]\n)([ \t]*)(\* &lt;p&gt;)" />
<option name="_fileType" value="UNKNOWN" />
<option name="searchContext" value="ANY" />
<option name="replacement" value="$1$2*\n$2$3" />
</InspectionPattern>
<InspectionPattern>
<option name="regExp" value="(/\*\*\n[ \t]*\* )&lt;p&gt;" />
<option name="_fileType" value="UNKNOWN" />
<option name="searchContext" value="ANY" />
<option name="replacement" value="$1" />
</InspectionPattern>
</list>
</option>
</RegExpInspectionConfiguration>
</list>
</option>
</inspection_tool>
<inspection_tool class="SSBasedInspection" enabled="true" level="WARNING" enabled_by_default="true">
<replaceConfiguration name="Prefer early return" problemDescriptor="Redundant variable can be returned linline" text="$type$ $var$;&#10;try {&#10; $tryStatements$;&#10; $var$ = $tryExpr$;&#10;} catch ($extype$ $ex$) {&#10; $catchStatements$;&#10; $var$ = $catchExpr$;&#10;}&#10;return $var$;" recursive="false" caseInsensitive="false" type="JAVA" pattern_context="default" reformatAccordingToStyle="true" shortenFQN="false" replacement="try {&#10; $tryStatements$;&#10; return $tryExpr$;&#10;} catch ($extype$ $ex$) {&#10; $catchStatements$;&#10; return $catchExpr$;&#10;}">
<constraint name="__context__" within="" contains="" />
<constraint name="type" within="" contains="" />
<constraint name="var" within="" contains="" />
<constraint name="ex" within="" contains="" />
<constraint name="extype" within="" contains="" />
<constraint name="tryStatements" minCount="0" maxCount="2147483647" within="" contains="" />
<constraint name="catchStatements" minCount="0" maxCount="2147483647" within="" contains="" />
<constraint name="tryExpr" within="" contains="" />
<constraint name="catchExpr" within="" contains="" />
</replaceConfiguration>
<replaceConfiguration name="Prefer fromEntries() over reduce()" text="$array$.reduce(($acc$, $single$) =&gt; ({ ...$acc$, [$prop$]: $result$ }), {})" recursive="false" caseInsensitive="true" type="JavaScript" reformatAccordingToStyle="true" shortenFQN="false" replacement="Object.fromEntries($array$.map($single$ =&gt; [$prop$, $result$]))">
<constraint name="__context__" within="" contains="" />
<constraint name="array" within="" contains="" />
<constraint name="acc" within="" contains="" />
<constraint name="single" within="" contains="" />
<constraint name="prop" within="" contains="" />
<constraint name="result" within="" contains="" />
</replaceConfiguration>
<replaceConfiguration name="Prefer fromEntries() over reduce()" text="$array$.reduce(($acc$, $single$) =&gt; {&#10; $statements$&#10; return ({ ...$acc$, [$prop$]: $result$ })&#10;}, {})" recursive="false" caseInsensitive="true" type="JavaScript" reformatAccordingToStyle="true" shortenFQN="false" replacement="Object.fromEntries($array$.map($single$ =&gt; {&#10; $statements$&#10; return [$prop$, $result$]&#10;}))">
<constraint name="__context__" within="" contains="" />
<constraint name="array" within="" contains="" />
<constraint name="acc" within="" contains="" />
<constraint name="single" within="" contains="" />
<constraint name="prop" within="" contains="" />
<constraint name="result" within="" contains="" />
<constraint name="statements" maxCount="2147483647" within="" contains="" />
</replaceConfiguration>
<replaceConfiguration name="Prefer fromEntries() over reduce()" text="$array$.reduce(($acc$, $single$) =&gt; {&#10; $statements$&#10; $acc$[$prop$] = $result$&#10; return $acc$&#10;}, {})" recursive="false" caseInsensitive="true" type="JavaScript" reformatAccordingToStyle="true" shortenFQN="false" replacement="Object.fromEntries($array$.map($single$ =&gt; {&#10; $statements$&#10; return [$prop$, $result$]&#10;}))">
<constraint name="__context__" within="" contains="" />
<constraint name="array" within="" contains="" />
<constraint name="acc" within="" contains="" />
<constraint name="single" within="" contains="" />
<constraint name="prop" within="" contains="" />
<constraint name="result" within="" contains="" />
<constraint name="statements" minCount="0" maxCount="2147483647" within="" contains="" />
</replaceConfiguration>
<replaceConfiguration name="Prefer fromEntries() over reduce()" text="$array$.reduce(($acc$, $single$, $index$) =&gt; ({ ...$acc$, [$prop$]: $result$ }), {})" recursive="false" caseInsensitive="true" type="JavaScript" reformatAccordingToStyle="true" shortenFQN="false" replacement="Object.fromEntries($array$.map(($single$, $index$) =&gt; [$prop$, $result$]))">
<constraint name="__context__" within="" contains="" />
<constraint name="array" within="" contains="" />
<constraint name="acc" within="" contains="" />
<constraint name="single" within="" contains="" />
<constraint name="prop" within="" contains="" />
<constraint name="result" within="" contains="" />
<constraint name="index" within="" contains="" />
</replaceConfiguration>
<replaceConfiguration name="Prefer Jndi instead of JndiLocal" text="com.add123.jndi.JndiLocal.init();" recursive="false" caseInsensitive="false" type="JAVA" pattern_context="default" reformatAccordingToStyle="true" shortenFQN="true" useStaticImport="true" replacement="com.add123.jndi.Jndi.init();">
<constraint name="__context__" within="" contains="" />
</replaceConfiguration>
<replaceConfiguration name="Prefer string.join() over reduce()" text="$list$.reduce(($sum$, $single$) =&gt; $sum$ + $map$, '')" recursive="false" caseInsensitive="false" type="JavaScript" reformatAccordingToStyle="false" shortenFQN="false" replacement="$list$.map($single$ =&gt; $map$).join('')">
<constraint name="__context__" within="" contains="" />
<constraint name="list" within="" contains="" />
<constraint name="sum" within="" contains="" />
<constraint name="single" within="" contains="" />
<constraint name="map" within="" contains="" />
</replaceConfiguration>
<replaceConfiguration name="ReactRouterDom Component-Element Migration" text="&lt;Route exact path=$path$ component={$component$} /&gt;" recursive="false" caseInsensitive="false" type="JSX Harmony" reformatAccordingToStyle="false" shortenFQN="false" replacement="&lt;Route path=$path$ element={&lt;$component$ /&gt;} /&gt;">
<constraint name="__context__" within="" contains="" />
<constraint name="path" reference="constants" within="" contains="" />
<constraint name="component" regexp="^[A-Z][a-zA-Z0-9]*" within="" contains="" />
</replaceConfiguration>
<replaceConfiguration name="Simplify conditional components" text="{$bool$ &amp;&amp; &lt;$component$ $params$/&gt;}&#10;{$bool$ &amp;&amp; &lt;$component2$ $params2$/&gt;}" recursive="false" caseInsensitive="false" type="JSX Harmony" reformatAccordingToStyle="true" shortenFQN="false" replacement="{$bool$ &amp;&amp; &lt;&gt;&lt;$component$ $params$/&gt;&lt;$component2$ $params2$/&gt;&lt;/&gt;}">
<constraint name="__context__" within="" contains="" />
<constraint name="bool" within="" contains="" />
<constraint name="component" within="" contains="" />
<constraint name="component2" within="" contains="" />
<constraint name="params" minCount="0" maxCount="2147483647" within="" contains="" />
<constraint name="params2" minCount="0" maxCount="2147483647" within="" contains="" />
</replaceConfiguration>
</inspection_tool>
</profile>
</component>